Skip to content

Commit

Permalink
v1.2.3: Fixed a bug in the ssv class.
Browse files Browse the repository at this point in the history
  • Loading branch information
cclark61 committed Aug 28, 2014
1 parent ed79e85 commit 4d8e80d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Change_Log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*** phpOpenFW 1.x Change Log
*****************************************************************
*****************************************************************

-----------------------------------------------------------------
v1.2.3
-----------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion README.rtf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf190
{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf210
\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww27880\viewh19480\viewkind0
Expand Down
6 changes: 3 additions & 3 deletions framework/plugins/ssv.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @author Christian J. Clark
* @copyright Copyright (c) Christian J. Clark
* @license http://www.gnu.org/licenses/gpl-2.0.txt
* @version Started: 2-25-2008, Last updated: 8-27-2014
* @version Started: 2-25-2008, Last updated: 8-28-2014
**/

//***************************************************************
Expand Down Expand Up @@ -262,8 +262,8 @@ public function validate()
break;

case 'custom':
if ($var_val1) { eval("\{$vr} = ({$var_val1});"); }
else if ($var_val2) { eval("\{$vr} = ({$var_val2});"); }
if ($var_val1) { eval("\$vr = ($var_val1);"); }
else if ($var_val2) { eval("\$vr = ($var_val2);"); }
else { trigger_error('[Server Side Validation]::validate() - Invalid custom expression!'); }
break;

Expand Down

0 comments on commit 4d8e80d

Please sign in to comment.