r2268 - getOrphanedTags(): init 'kidc' field to suppress another PHP warning
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 6 Nov 2008 15:08:10 +0000 (15:08 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 6 Nov 2008 15:08:10 +0000 (15:08 +0000)
inc/functions.php

index b6c59aa2588c0fa1f2f8e44134826cb064b33a04..e6ac3d55f1472843889aacc03bc9d27ad92b4af5 100644 (file)
@@ -828,6 +828,7 @@ function getOrphanedTags ()
                $picked = FALSE;
                foreach ($mytaglist as $tagid => $taginfo)
                {
+                       $taginfo['kidc'] = 0;
                        $taginfo['kids'] = array();
                        if ($taginfo['parent_id'] == NULL)
                        {