aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/include/photos_add_direct_process.inc.php3
-rw-r--r--admin/include/uploadify/uploadify.php3
2 files changed, 2 insertions, 4 deletions
diff --git a/admin/include/photos_add_direct_process.inc.php b/admin/include/photos_add_direct_process.inc.php
index 100b61032..dc4ae4827 100644
--- a/admin/include/photos_add_direct_process.inc.php
+++ b/admin/include/photos_add_direct_process.inc.php
@@ -194,8 +194,7 @@ if (isset($_GET['processed']))
SELECT
id,
file,
- path,
- tn_ext
+ path
FROM '.IMAGES_TABLE.'
WHERE id = '.$image_id.'
;';
diff --git a/admin/include/uploadify/uploadify.php b/admin/include/uploadify/uploadify.php
index cc30cf9e7..1e36f3268 100644
--- a/admin/include/uploadify/uploadify.php
+++ b/admin/include/uploadify/uploadify.php
@@ -65,8 +65,7 @@ array_push(
$query = '
SELECT
id,
- path,
- tn_ext
+ path
FROM '.IMAGES_TABLE.'
WHERE id = '.$image_id.'
;';