consistency

git-svn-id: file:///home/shish/svn/shimmie2/trunk@312 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2007-07-17 07:45:35 +00:00
parent b782b3e970
commit 0c5f7244db
30 changed files with 81 additions and 92 deletions

View File

@@ -21,10 +21,9 @@ class Notes extends Extension {
}
if(is_a($event, 'DisplayingImageEvent')) {
global $page;
global $database;
$notes = $database->db->GetAll("SELECT * FROM image_notes WHERE image_id = ?", array($event->image->id));
$this->theme->display_notes($page, $notes);
$this->theme->display_notes($event->page, $notes);
}
}