* adjust judge decode.

This commit is contained in:
wangyidong
2012-12-11 07:54:15 +00:00
parent f68b255509
commit e718c39537
+1 -1
View File
@@ -26,7 +26,7 @@ class search extends control
{
$searchFields = is_array($searchFields) ? $searchFields : json_decode(helper::safe64Decode($searchFields), true);
$fieldParams = is_array($fieldParams) ? $fieldParams : json_decode(helper::safe64Decode($fieldParams), true);
$actionURL = (strpos($actionURL, 'index.php?') !== false or strrpos($actionURL, '.html') !== false) ? $actionURL : helper::safe64Decode($actionURL);
$actionURL = (strpos($actionURL, '/') !== false) ? $actionURL : helper::safe64Decode($actionURL);
$this->search->initSession($module, $searchFields, $fieldParams);
$this->view->module = $module;