Commit 4674aa67 authored by esf's avatar esf

bug

parent 052c2f75
......@@ -68,6 +68,7 @@ class GrowthExpControllPackage {
* @return int
*/
public function findScoreByWayAliasAndPackageId($wayAlias, $packageId) {
$packageId = empty($packageId)?0:$packageId;
$arrRow = $this->findOneByWayAliasAndPackageId($wayAlias, $packageId);
return $arrRow['score'] == '' ? 0 : $arrRow['score'];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment