aboutsummaryrefslogtreecommitdiffstats
path: root/admin/photos_add_direct.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-06-09 09:38:43 +0000
committernikrou <nikrou@piwigo.org>2010-06-09 09:38:43 +0000
commitad676ee2c8b868fb5edb0f1894ade039dbdfb98a (patch)
tree8ba8804743214f1e4163390f8154656f5f65eaea /admin/photos_add_direct.php
parent6b0aebc1b5e077ae82e047ba474b7230fd723e39 (diff)
Bug 1715 fixed : SQLite: Add photos fail
must use pwg_db_* functions instead of mysql_* ones git-svn-id: http://piwigo.org/svn/trunk@6498 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/photos_add_direct.php')
-rw-r--r--admin/photos_add_direct.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/photos_add_direct.php b/admin/photos_add_direct.php
index 710eaf739..682e4baaa 100644
--- a/admin/photos_add_direct.php
+++ b/admin/photos_add_direct.php
@@ -237,7 +237,7 @@ SELECT
FROM '.IMAGES_TABLE.'
WHERE id = '.$image_id.'
;';
- $image_infos = mysql_fetch_assoc(pwg_query($query));
+ $image_infos = pwg_db_fetch_assoc(pwg_query($query));
$thumbnail['file'] = $image_infos['file'];
@@ -297,7 +297,7 @@ SELECT
FROM '.IMAGE_CATEGORY_TABLE.'
WHERE category_id = '.$category_id.'
;';
- list($count) = mysql_fetch_row(pwg_query($query));
+ list($count) = pwg_db_fetch_row(pwg_query($query));
$category_name = get_cat_display_name_from_id($category_id, 'admin.php?page=cat_modify&amp;cat_id=');
// information