From b1a6316ca2f5f79891c6170049bfd06650847e49 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 21 Dec 2006 23:49:12 +0000 Subject: Very small corrections: - syntax error (action.php) - language (call to l10n_dec and English language) - replace some fetch_array with fetch_assoc (less memory used) - removed one unnecessary assign_block_vars - removed meta name="robots" (conflict with notification.php) git-svn-id: http://piwigo.org/svn/trunk@1678 68402e56-0260-453c-a942-63ccdbb3a9ee --- action.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'action.php') diff --git a/action.php b/action.php index c0cab23de..586d730a3 100644 --- a/action.php +++ b/action.php @@ -80,15 +80,15 @@ if ( empty($element_info) ) { do_error(404, 'Requested id not found'); } - -// $filter['visible_categories'] and $filter['visible_images'] + +// $filter['visible_categories'] and $filter['visible_images'] // are not used because it's not necessary (filter <> restriction) $query=' SELECT id FROM '.CATEGORIES_TABLE.' INNER JOIN '.IMAGE_CATEGORY_TABLE.' ON category_id=id - WHERE image_id='.$id.' -.'get_sql_condition_FandF(array('forbidden_categories' => 'category_id'), 'AND').' + WHERE image_id='.$id.' +'.get_sql_condition_FandF(array('forbidden_categories' => 'category_id'), 'AND').' LIMIT 1 ;'; if ( mysql_num_rows(pwg_query($query))<1 ) -- cgit v1.2.3