aboutsummaryrefslogtreecommitdiffstats
path: root/admin/infos_images.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-01-21 22:14:47 +0000
committerz0rglub <z0rglub@piwigo.org>2004-01-21 22:14:47 +0000
commit54813d73b09ca960ced02775c281ddbc8cd45482 (patch)
treed239341f41d8dbd379b39208482ee80827fc1ba8 /admin/infos_images.php
parent1dea45e873985ed32b073170f22d1b2491cc2a5c (diff)
bug correction : POST[associate] was always set even if not ! test also the
emptiness of the var git-svn-id: http://piwigo.org/svn/branches/release-1_3@308 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/infos_images.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/infos_images.php b/admin/infos_images.php
index fe77b4c71..087216f47 100644
--- a/admin/infos_images.php
+++ b/admin/infos_images.php
@@ -31,7 +31,7 @@ if ( isset( $page['cat'] ) )
//--------------------------------------------------- update individual options
if ( isset( $_POST['submit'] ) )
{
- if ( isset( $_POST['associate'] ) )
+ if ( isset( $_POST['associate'] ) and $_POST['associate'] != '' )
{
// does the uppercat id exists in the database ?
if ( !is_numeric( $_POST['associate'] ) )