this is no longer the database

git-svn-id: file:///home/shish/svn/shimmie2/trunk@1067 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-10-09 14:47:45 +00:00
parent 40431f4c26
commit 3ec1f4d677

View File

@ -109,7 +109,7 @@ class Image {
}
if(count($tags) == 0) {
$row = $this->db->GetRow("SELECT images.* FROM images WHERE images.id $gtlt {$this->id} ORDER BY images.id $dir LIMIT 1");
$row = $this->database->db->GetRow("SELECT images.* FROM images WHERE images.id $gtlt {$this->id} ORDER BY images.id $dir LIMIT 1");
}
else {
$tags[] = "id$gtlt{$this->id}";