fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [11945] Controller: revert change


From: Sigurd Nes
Subject: [Fmsystem-commits] [11945] Controller: revert change
Date: Mon, 05 May 2014 12:19:02 +0000

Revision: 11945
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11945
Author:   sigurdne
Date:     2014-05-05 12:19:02 +0000 (Mon, 05 May 2014)
Log Message:
-----------
Controller: revert change

Modified Paths:
--------------
    trunk/controller/inc/class.uicalendar.inc.php

Modified: trunk/controller/inc/class.uicalendar.inc.php
===================================================================
--- trunk/controller/inc/class.uicalendar.inc.php       2014-05-05 12:17:39 UTC 
(rev 11944)
+++ trunk/controller/inc/class.uicalendar.inc.php       2014-05-05 12:19:02 UTC 
(rev 11945)
@@ -256,11 +256,11 @@
                        }
                }
 
-               public function view_calendar_for_year($location_code = '')
+               public function view_calendar_for_year()
                {
-                       $location_code = $location_code ? $location_code : 
phpgw::get_var('location_code');
+                       $location_code = phpgw::get_var('location_code');
                        $year = phpgw::get_var('year');
-                       $role = phpgw::get_var('role', 'int', 'REQUEST', -1);
+                       $role = phpgw::get_var('role', 'int');
 
                        $repeat_type = phpgw::get_var('repeat_type');
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]