]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make last parameter for common_menu_item() optional
authorEvan Prodromou <evan@prodromou.name>
Wed, 11 Jun 2008 15:56:49 +0000 (11:56 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 11 Jun 2008 15:56:49 +0000 (11:56 -0400)
darcs-hash:20080611155649-84dde-6200d33e93ed13278c22833d1225e3b9eb44b9b5.gz

lib/util.php

index def3a57506f9037c4d85fea46bd23ae15cb6f2ab..c6f32eeb7f123cde6e4759698843b28abce2ecfe 100644 (file)
@@ -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';