phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] inv/inc class.uiinventory.inc.php, 1.16 class.uiinvoi


From: powerstat
Subject: [Phpgroupware-cvs] inv/inc class.uiinventory.inc.php, 1.16 class.uiinvoice.inc.php, 1.9
Date: Wed, 4 May 2005 16:06:00 +0200

Update of inv/inc

Modified Files:
     Branch: MAIN
            class.uiinventory.inc.php lines: +3 -3
            class.uiinvoice.inc.php lines: +3 -3

Log Message:
Fixes deprecated (since 2003) call by reference functions calls. All function 
declarations were already correct.

====================================================
Index: inv/inc/class.uiinventory.inc.php
diff -u inv/inc/class.uiinventory.inc.php:1.15 
inv/inc/class.uiinventory.inc.php:1.16
--- inv/inc/class.uiinventory.inc.php:1.15      Fri May 30 22:25:43 2003
+++ inv/inc/class.uiinventory.inc.php   Wed May  4 14:06:20 2005
@@ -302,7 +302,7 @@

                        for ($i=0;$i<count($products);$i++)
                        {
-                               
$this->nextmatchs->template_alternate_row_color(&$this->t);
+                               
$this->nextmatchs->template_alternate_row_color($this->t);
                                $serial = 
$GLOBALS['phpgw']->strip_html($products[$i]['serial']);
                                if (! $serial) $serial = '&nbsp;';

@@ -727,7 +727,7 @@

                        for ($i=0;$i<count($sta);$i++)
                        {
-                               
$this->nextmatchs->template_alternate_row_color(&$this->t);
+                               
$this->nextmatchs->template_alternate_row_color($this->t);
                                $status_name = 
$GLOBALS['phpgw']->strip_html($sta[$i]['status_name']);
                                $this->t->set_var('name',lang($status_name));


====================================================
Index: inv/inc/class.uiinvoice.inc.php
diff -u inv/inc/class.uiinvoice.inc.php:1.8 inv/inc/class.uiinvoice.inc.php:1.9
--- inv/inc/class.uiinvoice.inc.php:1.8 Sun Oct 13 22:05:31 2002
+++ inv/inc/class.uiinvoice.inc.php     Wed May  4 14:06:20 2005
@@ -247,7 +247,7 @@

                        for ($i=0;$i<count($entries);$i++)
                        {
-                               
$this->nextmatchs->template_alternate_row_color(&$this->t);
+                               
$this->nextmatchs->template_alternate_row_color($this->t);
                                $firstname = $entries[$i]['n_given'];
                                if (!$firstname) { $firstname = '&nbsp;'; }
                                $lastname = $entries[$i]['n_family'];
@@ -381,7 +381,7 @@

                        for ($i=0;$i<count($entries);$i++)
                        {
-                               
$this->nextmatchs->template_alternate_row_color(&$this->t);
+                               
$this->nextmatchs->template_alternate_row_color($this->t);
                                $company = 
$GLOBALS['phpgw']->strip_html($entries[$i]['org_name']);
                                if (! $company) $company = '&nbsp;';
                                $department = 
$GLOBALS['phpgw']->strip_html($entries[$i]['org_unit']);






reply via email to

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