[pLog-svn] r1156 - plugins/trunk/karma/class/view
mark at devel.plogworld.net
mark at devel.plogworld.net
Mon Feb 21 14:14:11 GMT 2005
Author: mark
Date: 2005-02-21 14:14:10 +0000 (Mon, 21 Feb 2005)
New Revision: 1156
Modified:
plugins/trunk/karma/class/view/adminkarmapluginsettingsview.class.php
Log:
Fix check box error.
Modified: plugins/trunk/karma/class/view/adminkarmapluginsettingsview.class.php
===================================================================
--- plugins/trunk/karma/class/view/adminkarmapluginsettingsview.class.php 2005-02-21 09:39:50 UTC (rev 1155)
+++ plugins/trunk/karma/class/view/adminkarmapluginsettingsview.class.php 2005-02-21 14:14:10 UTC (rev 1156)
@@ -20,11 +20,9 @@
$blogSettings = $this->_blogInfo->getSettings();
$pluginEnabled = $blogSettings->getValue( "plugin_karma_enabled" );
$disableNegative = $blogSettings->getValue( "plugin_karma_disable_negative_articles" );
- if ($disableNegative == "") $disableNegative = 1;
$negativeThreshold = $blogSettings->getValue( "plugin_karma_negative_threshold" );
if ($negativeThreshold == "") $negativeThreshold = PLUGIN_KARMA_DEFAULT_NEGATIVE_THRESHOLD;
$trackVoters = $blogSettings->getValue( "plugin_karma_track_voters" );
- if ($trackVoters == "") $trackVoters = 1;
$scoring = $blogSettings->getValue( "plugin_karma_scoring_coefficient" );
// create a view and export the settings to the template
More information about the pLog-svn
mailing list