Commit 052c2f75 authored by esf's avatar esf

bug

parent dec51088
......@@ -55,6 +55,7 @@ class GrowthExpControllPackage {
* @return array
*/
public function findOneByWayAliasAndPackageId($wayAlias, $packageId) {
$packageId = empty($packageId)?0:$packageId;
$sql = SqlCombinHelper::select_sql($this->table, self::$fields,
"way_alias = '$wayAlias' AND package_id = $packageId");
return $this->dbback->getRow($sql);
......
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