From fa72cb985784af2edc43bd4a314616be6700e554 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Tue, 11 Oct 2011 07:43:27 +0000 Subject: [PATCH] * init the className. --- module/common/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/common/control.php b/module/common/control.php index 45ed8bd04a..4ba1032672 100644 --- a/module/common/control.php +++ b/module/common/control.php @@ -159,6 +159,8 @@ class common extends control global $lang, $app; if(empty($module)) $module= $app->getModuleName(); if(empty($method)) $method= $app->getMethodName(); + $className = 'header'; + if(strpos($orderBy, $fieldName) !== false) { if(stripos($orderBy, 'desc') !== false)