From: garvinhicking Date: Thu, 15 Sep 2005 12:39:25 +0000 (+0000) Subject: Fix uninitialized variable X-Git-Tag: 0.9~140 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e71de788e1dd091dcb0056e116693fedc028b8e9;p=s9y.git Fix uninitialized variable --- 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)";