removed parentheses, added curly ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
2f5c796886
commit
47ae5a9a47
|
@ -1866,7 +1866,7 @@ class dfrn {
|
||||||
|
|
||||||
// do not accept (ignore) an earlier edit than one we currently have.
|
// do not accept (ignore) an earlier edit than one we currently have.
|
||||||
if (datetime_convert("UTC","UTC",$item["edited"]) < $current["edited"]) {
|
if (datetime_convert("UTC","UTC",$item["edited"]) < $current["edited"]) {
|
||||||
return(false);
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$r = q("UPDATE `item` SET `title` = '%s', `body` = '%s', `tag` = '%s', `edited` = '%s', `changed` = '%s' WHERE `uri` = '%s' AND `uid` = %d",
|
$r = q("UPDATE `item` SET `title` = '%s', `body` = '%s', `tag` = '%s', `edited` = '%s', `changed` = '%s' WHERE `uri` = '%s' AND `uid` = %d",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user