1
0

Add default values for calendar() args.

This commit is contained in:
Bharat Mediratta 2010-02-01 00:50:46 -08:00
parent 7806db1929
commit d1062c9340

View File

@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class CalendarView_Controller extends Controller {
public function calendar($display_year, $display_user) {
public function calendar($display_year="", $display_user="") {
// Draw a calendar for the year specified by $display_year.
// Make sure the function parameters aren't null,