[pLog-svn] r838 - plugins/trunk/dropcase
mark at devel.plogworld.net
mark at devel.plogworld.net
Tue Jan 25 18:26:42 GMT 2005
Author: mark
Date: 2005-01-25 18:26:42 +0000 (Tue, 25 Jan 2005)
New Revision: 838
Modified:
plugins/trunk/dropcase/plugindropcase.class.php
Log:
Update process() to prevent the plugin execute on admin page.
Modified: plugins/trunk/dropcase/plugindropcase.class.php
===================================================================
--- plugins/trunk/dropcase/plugindropcase.class.php 2005-01-25 17:42:22 UTC (rev 837)
+++ plugins/trunk/dropcase/plugindropcase.class.php 2005-01-25 18:26:42 UTC (rev 838)
@@ -47,6 +47,10 @@
if ( $pluginEnabled != 1 )
return true;
+ $from = $params["from"];
+ if ( $from != "" )
+ return true;
+
if( $eventType == EVENT_POST_LOADED ) {
$post = $params[ "article" ];
$post = $this->dropcase_process($post);
More information about the pLog-svn
mailing list