aboutsummaryrefslogtreecommitdiffstats
path: root/admin/infos_images.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-08-31 23:05:19 +0000
committergweltas <gweltas@piwigo.org>2004-08-31 23:05:19 +0000
commitf13b345dcfcab905a091d419073e0550d7e7cb1b (patch)
tree94741cdffdf42062341762d3e856e7ae5c77d48e /admin/infos_images.php
parenta8cb550b92ff3230b5b062d85bebccdca75580de (diff)
Template migration : picture_modify.php
git-svn-id: http://piwigo.org/svn/trunk@509 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/infos_images.php')
-rw-r--r--admin/infos_images.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/admin/infos_images.php b/admin/infos_images.php
index ad620286f..fdd298318 100644
--- a/admin/infos_images.php
+++ b/admin/infos_images.php
@@ -290,11 +290,7 @@ if ( sizeof( $errors ) != 0 )
//------------------------------------------------------------------------ form
$array_cat_directories = array();
-
- $infos = array( 'id','file','comment','author','tn_ext','name'
- ,'date_creation','keywords','storage_category_id'
- ,'category_id' );
-
+
$query = 'SELECT * FROM '.IMAGES_TABLE;
$query.= ' INNER JOIN '.IMAGE_CATEGORY_TABLE.' ON id = image_id';
$query.= ' WHERE category_id = '.$page['cat'];
@@ -304,7 +300,6 @@ if ( sizeof( $errors ) != 0 )
$result = mysql_query( $query );
while ( $row = mysql_fetch_array( $result ) )
{
- foreach ($infos as $info) { if (!isset($row[$info])) $row[$info] = ''; }
if ( !isset( $array_cat_directories[$row['storage_category_id']] ) )
{
$array_cat_directories[$row['storage_category_id']] =