diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-08 18:47:43 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-08 18:47:43 +0000 |
commit | 82a74194d27972a81ff1dd472ede25a31f3eb6d5 (patch) | |
tree | e97bd286d8bfa61b75e8fc4ad9327e57a2e24aff | |
parent | fd1acc79bce6c6e1cee19040857b6d8e073cbc2f (diff) | |
download | elgg-82a74194d27972a81ff1dd472ede25a31f3eb6d5.tar.gz elgg-82a74194d27972a81ff1dd472ede25a31f3eb6d5.tar.bz2 |
Fixed problem where system log code would crash due to new plugin code
git-svn-id: http://code.elgg.org/elgg/trunk@7865 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/system_log.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/system_log.php b/engine/lib/system_log.php index 5e4a145bb..1578ebeba 100644 --- a/engine/lib/system_log.php +++ b/engine/lib/system_log.php @@ -128,9 +128,7 @@ function get_object_from_log_entry($entry_id) { if ($entry) { $class = $entry->object_class; - $tmp = new $class(); - $object = $tmp->getObjectFromID($entry->object_id); - + $object = new $class($entry->object_id); if ($object) { return $object; } |