phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.soadmin_location.inc.php, 1.2.2.5


From: sigurdne
Subject: [Phpgroupware-cvs] property/inc class.soadmin_location.inc.php, 1.2.2.5
Date: Thu, 24 Feb 2005 13:35:04 -0000

Update of property/inc

Modified Files:
     Branch: proposed-0_9_18-branch
            class.soadmin_location.inc.php lines: +11 -11

Log Message:
no message

====================================================
Index: property/inc/class.soadmin_location.inc.php
diff -u property/inc/class.soadmin_location.inc.php:1.2.2.4 
property/inc/class.soadmin_location.inc.php:1.2.2.5
--- property/inc/class.soadmin_location.inc.php:1.2.2.4 Tue Dec  7 09:04:28 2004
+++ property/inc/class.soadmin_location.inc.php Wed Jan 12 13:10:05 2005
@@ -103,18 +103,19 @@
                        return $standard;
                }

-               function read_config($data)
+               function read_config($data=0)
                {
+                       if ($data['start'])
+                       {
+                               $start=$data['start'];
+                       }
+                       else
+                       {
+                               $start=0;
+                       }
+
                        if(is_array($data))
                        {
-                               if ($data['start'])
-                               {
-                                       $start=$data['start'];
-                               }
-                               else
-                               {
-                                       $start=0;
-                               }
                                $query = 
(isset($data['query'])?$data['query']:'');
                                $sort = 
(isset($data['sort'])?$data['sort']:'DESC');
                                $order = 
(isset($data['order'])?$data['order']:'');
@@ -160,7 +161,6 @@
                                        'location_type'         => 
$this->db->f('location_type')
                                );
                        }
-//_debug_array($config);
                        return $config;
                }







reply via email to

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