]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-repair_cats.php
Fix for missing array elements
[mailer.git] / inc / modules / admin / what-repair_cats.php
index 4535a12fcd34d2948780a9e21bcc8a90860f25d9..51e4edd39717af874f7ec50955e462a7ea6d79e8 100644 (file)
@@ -8,7 +8,7 @@
  * -------------------------------------------------------------------- *
  * Short description : Repairs category selections                      *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Repariert Kategorieauswahlen                     *
+ * Kurzbeschreibung  : Repariert Kategorien                             *
  * -------------------------------------------------------------------- *
  * $Revision::                                                        $ *
  * $Date::                                                            $ *
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -58,10 +59,7 @@ if (SQL_NUMROWS($result) > 0) {
                        SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_user_cats` WHERE `userid`=%s",
                                array(bigintval($content['userid'])), __FILE__, __LINE__);
                        $REMOVED += SQL_AFFECTEDROWS();
-               } else {
-                       // Free memory
-                       SQL_FREERESULT($result_user);
-               }
+               } // END - if
        } // END - while
 
        if ($REMOVED > 0) {