| Summary | api.php / _kronolith_put require statement and global definition swapped |
| Queue | Kronolith |
| Queue Version | HEAD |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | |
| Requester | d.bussink (at) student (dot) utwente (dot) nl |
| Created | 06/01/2007 (6735 days ago) |
| Due | |
| Updated | 06/01/2007 (6735 days ago) |
| Assigned | |
| Resolved | 06/01/2007 (6735 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
with them myself). The real fix is that line 353 is moved up so it is
the first statement of the function (but I guess that should be
deducable from my initial bug report).
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ api.php / _kronolith_put require statement and global definition swapped
Queue ⇒ Kronolith
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.