aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_category.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_category.inc.php')
-rw-r--r--include/functions_category.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 1c04c70d2..287075d43 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -714,7 +714,7 @@ SELECT COUNT(1) AS count
}
else
{
- $page['title'] = $lang['diapo_default_page_title'];
+ $page['title'] = $lang['no_category'];
}
pwg_debug( 'end initialize_category' );
}
@@ -763,10 +763,10 @@ function display_select_cat_wrapper($query, $selecteds, $blockname,
$categories = array();
if (!empty($result))
{
- while ($row = mysql_fetch_array($result))
- {
- array_push($categories, $row);
- }
+ while ($row = mysql_fetch_array($result))
+ {
+ array_push($categories, $row);
+ }
}
usort($categories, 'global_rank_compare');
display_select_categories($categories, $selecteds, $blockname, $fullname);