diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-11 11:56:49 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-11 11:56:49 -0400 |
commit | 34cdd4ebd017d9829c47829ee57fb259700dc75b (patch) | |
tree | 16385c2074287baf6989596c5c1342ce2d97ad5c /lib/util.php | |
parent | 9f39fd31afe198fc78c669088710af64a9976c3d (diff) |
make last parameter for common_menu_item() optional
darcs-hash:20080611155649-84dde-6200d33e93ed13278c22833d1225e3b9eb44b9b5.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 2 |
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'; |