Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/06/2005, 10:23
byzard
 
Fecha de Ingreso: agosto-2003
Ubicación: santiago, chile
Mensajes: 303
Antigüedad: 20 años, 7 meses
Puntos: 0
ayuda...error Warning: reset(): Passed variable is not an array or object in y ...

saludos...
alguien sabe porque me sale este mensaje?

Warning: reset(): Passed variable is not an array or object in /home/galilea/public_html/catalog/admin/includes/classes/object_info.php on line 17

Warning: Variable passed to each() is not an array or object in /home/galilea/public_html/catalog/admin/includes/classes/object_info.php on line 18

la cosa que al darle click en un boton que sirve para editar o eliminar un usuario me sale eso de arriba


object_info.php
codigo

Código:
<?php
/*
  $Id: object_info.php,v 1.6 2003/06/20 16:23:08 hpdl Exp $
   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);
      }
    }
  }
?>
se agradece la ayuda