Skip to content

Commit

Permalink
代码小调
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyecommerce committed Jul 25, 2017
1 parent b69317d commit 455363b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/cart/Coupon.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function actionGetByPrimaryKey($primaryKey)
if ($one[$primaryKey]) {
return $one;
} else {
return new $this->_couponModel;
return new $this->_couponModelName;
}
}
/**
Expand Down

0 comments on commit 455363b

Please sign in to comment.