[Tickets #5423] api.php / _kronolith_put require statement and global definition swapped
bugs at bugs.horde.org
bugs at bugs.horde.org
Fri Jun 1 19:16:13 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5423
-----------------------------------------------------------------------
Ticket | 5423
Created By | d.bussink at student.utwente.nl
Summary | api.php / _kronolith_put require statement and global definition swapped
Queue | Kronolith
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
d.bussink at student.utwente.nl (2007-06-01 12:16) wrote:
In lib/api.php the lines 350 and 351 should be swapped.
348 function _kronolith_put($path, $content, $content_type)
349 {
350 global $kronolith;
351 require_once dirname(__FILE__) . '/base.php';
352 $ids = array();
This way, the $kronolith object doesn't contain the correct object,
because the global is created in the base.php object. This prevents the
_kronolith_put from working correctly.
More information about the bugs
mailing list