phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] preferences/inc class.uiaclprefs.inc.php, 1.1.2.4.2.6


From: skwashd
Subject: [Phpgroupware-cvs] preferences/inc class.uiaclprefs.inc.php, 1.1.2.4.2.6
Date: Tue, 18 Oct 2005 01:21:00 +0200

Update of preferences/inc

Modified Files:
     Branch: Version-0_9_16-branch
            class.uiaclprefs.inc.php lines: +3 -4

Log Message:
first group will show properly now

====================================================
Index: preferences/inc/class.uiaclprefs.inc.php
diff -u preferences/inc/class.uiaclprefs.inc.php:1.1.2.4.2.5 
preferences/inc/class.uiaclprefs.inc.php:1.1.2.4.2.6
--- preferences/inc/class.uiaclprefs.inc.php:1.1.2.4.2.5        Sat Nov  6 
16:13:42 2004
+++ preferences/inc/class.uiaclprefs.inc.php    Mon Oct 17 23:21:56 2005
@@ -161,7 +161,7 @@

                        $total = 0;

-                       if(!isset($start))
+                       if ( !isset($start) || !intval($start) )
                        {
                                $start = 0;
                        }
@@ -264,8 +264,7 @@
                                
$this->template->set_var('string',lang('Groups'));
                                
$this->template->parse('row','row_colspan',True);

-                               reset($groups);
-                               for($k=$start;$k<count($groups);$k++)
+                               for($k=$start;$k<count($groups);++$k)
                                {
                                        $group = $groups[$k];
                                        $go = True;






reply via email to

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