summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index def3a5750..c6f32eeb7 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -243,7 +243,7 @@ function common_foot_menu() {
common_element_end('ul');
}
-function common_menu_item($url, $text, $title=NULL, $is_selected) {
+function common_menu_item($url, $text, $title=NULL, $is_selected=false) {
$lattrs = array();
if ($is_selected) {
$lattrs['class'] = 'current';