From: Evan Prodromou Date: Wed, 11 Jun 2008 15:56:49 +0000 (-0400) Subject: make last parameter for common_menu_item() optional X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=34cdd4ebd017d9829c47829ee57fb259700dc75b;p=quix0rs-gnu-social.git make last parameter for common_menu_item() optional darcs-hash:20080611155649-84dde-6200d33e93ed13278c22833d1225e3b9eb44b9b5.gz --- diff --git a/lib/util.php b/lib/util.php index def3a57506..c6f32eeb7f 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';