Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Deleting customer records


pure-dvd.com

Recommended Posts

While attempting to delete customer records, I receive these warnings:

 

Warning: reset(): Passed variable is not an array or object in /home/virtual/site162/fst/var/www/html/store/admin/includes/classes/object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in /home/virtual/site162/fst/var/www/html/store/admin/includes/classes/object_info.php on line 18

 

Can anybody see the error?

 

The program code is as follows:

 

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);
     }
   }
 }

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...