]> git.mjollnir.org Git - s9y.git/commitdiff
Fix uninitialized variable
authorgarvinhicking <garvinhicking>
Thu, 15 Sep 2005 12:39:25 +0000 (12:39 +0000)
committergarvinhicking <garvinhicking>
Thu, 15 Sep 2005 12:39:25 +0000 (12:39 +0000)
include/functions_entries.inc.php

index 742ecba3dcb627316e64632acc2b0af14c89f98b..555701e8d46958bfec27976d926d780d366f54ae 100644 (file)
@@ -406,6 +406,7 @@ function serendipity_fetchCategories($authorid = null, $name = null, $order = nu
         $authorid = $serendipity['authorid'];
     }
 
+    $where = '';
     if ($authorid != 'all' && is_numeric($authorid)) {
         if (!serendipity_checkPermission('adminCategoriesMaintainOthers', $authorid)) {
             $where = " WHERE (c.authorid = $authorid OR c.authorid = 0)";