aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'] ) )