diff options
Diffstat (limited to 'engine')
-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; } |