Compatibility with PHP 5.4

This commit is contained in:
Manuel Cillero 2017-07-26 12:46:03 +02:00
parent e1764abfca
commit ad79cddfbd

View file

@ -166,6 +166,7 @@ function autosave_save() {
// add case
else {
$submitted = new stdClass();
$submitted->changed = db_result(db_query("SELECT created FROM {node} WHERE uid = %d and type = '%s' ORDER BY created DESC LIMIT 1", $user->uid, str_replace("-", "_", $path_args[2])));
}