From: <mo...@us...> - 2006-05-27 11:26:00
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv1415 Modified Files: Tag: BRANCH-1-9 tiki-setup_base.php Log Message: fixed a problem when new type of vaarcheck is added but not tested Index: tiki-setup_base.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-setup_base.php,v retrieving revision 1.78.2.33 retrieving revision 1.78.2.34 diff -u -d -r1.78.2.33 -r1.78.2.34 --- tiki-setup_base.php 13 Mar 2006 20:54:32 -0000 1.78.2.33 +++ tiki-setup_base.php 27 May 2006 11:25:50 -0000 1.78.2.34 @@ -153,6 +153,8 @@ if (is_array($rv)) { varcheck($rv); } elseif ((((substr($rq,-2,2) == 'Id' and $rq != 'reqId') or (isset($vartype["$rq"]) and $vartype["$rq"] == 'int')) and !preg_match($patterns['int'],$rv)) + or ((isset($vartype["$rq"]) and $vartype["$rq"] == 'intSign') and !preg_match($patterns['intSign'],$rv)) + or ((isset($vartype["$rq"]) and $vartype["$rq"] == 'url') and !preg_match($patterns['url'],$rv)) or ((isset($vartype["$rq"]) and $vartype["$rq"] == 'char') and !preg_match($patterns['char'],$rv)) or ((isset($vartype["$rq"]) and $vartype["$rq"] == 'hash') and !preg_match($patterns['hash'],$rv)) or ((isset($vartype["$rq"]) and $vartype["$rq"] == 'string') and !preg_match($patterns['string'],$rv))) { |