diff options
| -rw-r--r-- | engine/lib/objects.php | 4 | ||||
| -rw-r--r-- | index.php | 3 | 
2 files changed, 4 insertions, 3 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php index 7cf58a848..29441b67c 100644 --- a/engine/lib/objects.php +++ b/engine/lib/objects.php @@ -97,7 +97,6 @@  			return false;
  		}
 -
  	/**
  	 * Creates an object
 @@ -326,13 +325,12 @@  			}
  			return true;
  		}
 -
  	/**
  	 * This class represents an Elgg object.
  	 *
  	 */
 -		class ElggObject {
 +		class ElggObject extends stdClass {
  			private $attributes = array();
 @@ -23,4 +23,7 @@  		get_objects(3,"blog","mammals","are lovely", 7, 2, 1);
 +		$obj = new stdClass;
 +		$obj->id = 3;
 +		
  ?>
\ No newline at end of file  | 
