forked from Cavemanon/cavepaintings
use wrapped database execute function
git-svn-id: file:///home/shish/svn/shimmie2/trunk@129 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@@ -157,7 +157,7 @@ class ImageIO extends Extension {
|
||||
}
|
||||
|
||||
// actually insert the info
|
||||
$database->db->Execute(
|
||||
$database->Execute(
|
||||
"INSERT INTO images(owner_id, owner_ip, filename, filesize, hash, ext, width, height, posted) ".
|
||||
"VALUES (?, ?, ?, ?, ?, ?, ?, ?, now())",
|
||||
array($user->id, $_SERVER['REMOTE_ADDR'], $image->filename, $image->filesize,
|
||||
|
Reference in New Issue
Block a user