From 25b0db676e61d4175f79866328ba3f77631939fb Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Tue, 18 Jul 2006 11:18:28 +0000 Subject: [PATCH] don't choke on properties array --- include/functions_entries.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/functions_entries.inc.php b/include/functions_entries.inc.php index 1e5a940..974fee6 100644 --- a/include/functions_entries.inc.php +++ b/include/functions_entries.inc.php @@ -1096,6 +1096,10 @@ function serendipity_updertEntry($entry) { $newEntry = 0; $exflag = 0; + if (isset($entry['properties'])) { + unset($entry['properties']); + } + if (!is_numeric($entry['timestamp'])) { $entry['timestamp'] = time(); } -- 2.39.5