[TEP-COMMIT] [CVS admin] standards updates
anonymous-OfajU3CKLf1/[email protected] 22 Jul 2004 23:07:33 -0000
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit in admin/admin/includes/classes on MAIN
object_info.php +3 -6 1.6 -> 1.7
standards updates
----------
admin /admin /includes /classes
object_info.php 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- object_info.php 2003/06/20 16:23:08 1.6
+++ object_info.php 2004/07/22 23:07:32 1.7
@@ -5,18 +5,15 @@
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
- Copyright (c) 2003 osCommerce
+ Copyright (c) 2004 osCommerce
Released under the GNU General Public License
*/
class objectInfo {
-
-// class constructor
function objectInfo($object_array) {
- reset($object_array);
- while (list($key, $value) = each($object_array)) {
- $this->$key = tep_db_prepare_input($value);
+ foreach ($object_array as $key => $value) {
+ $this->$key = $value;
}
}
}
CVSspam 0.2.8
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click