From e71de788e1dd091dcb0056e116693fedc028b8e9 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Thu, 15 Sep 2005 12:39:25 +0000 Subject: [PATCH] Fix uninitialized variable --- include/functions_entries.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/functions_entries.inc.php b/include/functions_entries.inc.php index 742ecba..555701e 100644 --- a/include/functions_entries.inc.php +++ b/include/functions_entries.inc.php @@ -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)"; -- 2.39.5