Skip to content

Commit

Permalink
Add default values for calendar() args.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Feb 1, 2010
1 parent 7806db1 commit d1062c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/calendarview/controllers/calendarview.php
Expand Up @@ -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,
Expand Down

0 comments on commit d1062c9

Please sign in to comment.