Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
steezer committed Dec 2, 2020
1 parent 4b1e7fd commit 3d83d37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/Library/Controller.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ protected function error($message=null, $code=1, $jumpUrl='', $ajax=false){
protected function success($message=null,$jumpUrl='',$ajax=false){
if(is_bool($jumpUrl) || is_int($jumpUrl)){
$ajax=$jumpUrl;
$jumpUrl='';
}
if(is_null($message)){
$message=L('success');
Expand Down

0 comments on commit 3d83d37

Please sign in to comment.