aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-18 20:33:32 +0000
committerMario <mario@mariovavti.com>2020-11-18 20:33:32 +0000
commit18136788e4bfd86b6d6492daeccf270222d0b5fc (patch)
tree7b4759c00171cbe088114e0d7f9e92cd6c0225ac /include
parentf1101808b7b6e437ccf9f8ebe9e7a8e67652edc0 (diff)
downloadvolse-hubzilla-18136788e4bfd86b6d6492daeccf270222d0b5fc.tar.gz
volse-hubzilla-18136788e4bfd86b6d6492daeccf270222d0b5fc.tar.bz2
volse-hubzilla-18136788e4bfd86b6d6492daeccf270222d0b5fc.zip
be more specific
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 960aa3580..cda53ac82 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2502,7 +2502,7 @@ function item_update_parent_commented($item) {
);
q("UPDATE item set commented = '%s', changed = '%s' WHERE id = %d",
- dbesc(($z) ? $z[0]['commented'] : datetime_convert()),
+ dbesc(($z[0]['commented']) ? $z[0]['commented'] : datetime_convert()),
dbesc(datetime_convert()),
intval($item['parent'])
);