From 18136788e4bfd86b6d6492daeccf270222d0b5fc Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 18 Nov 2020 20:33:32 +0000 Subject: be more specific --- include/items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) ); -- cgit v1.2.3