diff --git a/lib/util.php b/lib/util.php index 2064480cb5..833695ba87 100644 --- a/lib/util.php +++ b/lib/util.php @@ -777,7 +777,7 @@ function common_log_objstring(&$object) { foreach ($arr as $k => $v) { $fields[] = "$k='$v'"; } - $ojbstring = $object->tableName() . '[' . implode(',', $fields) . ']'; + $objstring = $object->tableName() . '[' . implode(',', $fields) . ']'; return $objstring; }