From: garvinhicking Date: Wed, 24 Aug 2005 18:47:52 +0000 (+0000) Subject: Fix livesarch plugin for non_rewrite. X-Git-Tag: 0.9~181 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=701da5220e2d7be608aa8ff33bb97f5ff8fad4cd;p=s9y.git Fix livesarch plugin for non_rewrite. --- diff --git a/plugins/serendipity_event_livesearch/serendipity_event_livesearch.php b/plugins/serendipity_event_livesearch/serendipity_event_livesearch.php index 8d5a01e..9ab1547 100644 --- a/plugins/serendipity_event_livesearch/serendipity_event_livesearch.php +++ b/plugins/serendipity_event_livesearch/serendipity_event_livesearch.php @@ -22,7 +22,7 @@ class serendipity_event_livesearch extends serendipity_event $propbag->add('description', PLUGIN_EVENT_LIVESEARCH_DESC); $propbag->add('stackable', false); $propbag->add('author', 'Christian Stocker, Garvin Hicking'); - $propbag->add('version', '1.2'); + $propbag->add('version', '1.3'); $propbag->add('requirements', array( 'serendipity' => '0.8', 'smarty' => '2.6.7', @@ -103,7 +103,7 @@ class serendipity_event_livesearch extends serendipity_event case 'quicksearch_plugin': echo ''; @@ -124,11 +124,6 @@ class serendipity_event_livesearch extends serendipity_event } $parts = explode('_', $uri_parts[0]); - if (!empty($parts[1])) { - $param = (int) $parts[1]; - } else { - $param = null; - } switch($parts[0]) { case 'ls-js':