Revision: 12909
http://sourceforge.net/p/xoops/svn/12909
Author: zyspec
Date: 2014-12-19 20:01:08 +0000 (Fri, 19 Dec 2014)
Log Message:
-----------
Fixed PHP version compare on installation
Modified Paths:
--------------
XoopsModules/randomquote/branches/zyspec/randomquote/include/action.module.php
Modified: XoopsModules/randomquote/branches/zyspec/randomquote/include/action.module.php
===================================================================
--- XoopsModules/randomquote/branches/zyspec/randomquote/include/action.module.php 2014-12-19 19:59:59 UTC (rev 12908)
+++ XoopsModules/randomquote/branches/zyspec/randomquote/include/action.module.php 2014-12-19 20:01:08 UTC (rev 12909)
@@ -97,7 +97,7 @@
$reqVer = $module->getInfo('min_php');
$success = true;
- if ($verNum >= $reqVer) {
+ if ($verNum < $reqVer) {
$module->setErrors(sprintf(_AM_RANDOMQUOTE_ERROR_BAD_PHP, $reqVer, $verNum));
$success = false;
}
|