* adjust for check has custom pri.

This commit is contained in:
wangyidong
2018-03-22 14:29:27 +08:00
parent a72bf602d3
commit fb223a3bd7
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -101,7 +101,7 @@
$hasCustomPri = false;
foreach($lang->testcase->priList as $priKey => $priValue)
{
if(!empty($priKey) and ($priKey != $priValue or strlen($priKey) != strlen($priValue)))
if(!empty($priKey) and (string)$priKey != (string)$priValue)
{
$hasCustomPri = true;
break;