Compatibility with PHP 5.4
This commit is contained in:
parent
e1764abfca
commit
ad79cddfbd
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ function autosave_save() {
|
||||||
|
|
||||||
// add case
|
// add case
|
||||||
else {
|
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])));
|
$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])));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue