[pLog-svn] r5342 - plugins/branches/lifetype-1.2/authimage

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Tue Apr 24 05:24:31 EDT 2007


Author: jondaley
Date: 2007-04-24 05:24:31 -0400 (Tue, 24 Apr 2007)
New Revision: 5342

Modified:
   plugins/branches/lifetype-1.2/authimage/readme.txt
Log:
need to check if the object exists at all, in the case where the plugin isn't even installed

Modified: plugins/branches/lifetype-1.2/authimage/readme.txt
===================================================================
--- plugins/branches/lifetype-1.2/authimage/readme.txt	2007-04-24 09:13:01 UTC (rev 5341)
+++ plugins/branches/lifetype-1.2/authimage/readme.txt	2007-04-24 09:24:31 UTC (rev 5342)
@@ -12,8 +12,8 @@
 
 Install:
 Add the following code to commentform.template:
-{if $authimage->isEnabled()}
+{if $authimage && $authimage->isEnabled()}
 <div><label for="authImage">AuthImage</label><input type="text" name="authImage" id="authImage" value="" />&nbsp;{$authimage->show()}</div>
 {/if}
 
-You can add your own default background image to /plugin/authimage/backgrounds. This plugin only support GIF format currently.
\ No newline at end of file
+You can add your own default background image to /plugin/authimage/backgrounds. This plugin only support GIF format currently.



More information about the pLog-svn mailing list