]> git.mjollnir.org Git - s9y.git/commitdiff
less strict check
authorgarvinhicking <garvinhicking>
Mon, 14 Apr 2008 03:48:48 +0000 (03:48 +0000)
committergarvinhicking <garvinhicking>
Mon, 14 Apr 2008 03:48:48 +0000 (03:48 +0000)
plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php

index 4df1847a9d2ce2a9d0a18bc607244c5f4cd3630d..60e6dfe2dfafc53d0f176af5cea70651410e6fd9 100644 (file)
@@ -26,7 +26,7 @@ class serendipity_event_entryproperties extends serendipity_event
         $propbag->add('description',   PLUGIN_EVENT_ENTRYPROPERTIES_DESC);
         $propbag->add('stackable',     false);
         $propbag->add('author',        'Garvin Hicking');
-        $propbag->add('version',       '1.16');
+        $propbag->add('version',       '1.17');
         $propbag->add('requirements',  array(
             'serendipity' => '0.8',
             'smarty'      => '2.6.7',
@@ -580,7 +580,7 @@ class serendipity_event_entryproperties extends serendipity_event
 
                 case 'backend_publish':
                 case 'backend_save':
-                    if (!isset($serendipity['POST']['properties']) || !is_array($serendipity['POST']['properties']) || !isset($eventData['id'])) {
+                    if (!isset($eventData['id'])) {
                         return true;
                     }