* Fix checkPriv error.

This commit is contained in:
Lufei
2022-12-14 09:37:25 +08:00
parent 447db0a97a
commit 2fc604895d
+1 -3
View File
@@ -2486,9 +2486,7 @@ EOD;
}
catch(EndResponseException $endResponseException)
{
if($this->app->getViewType() == 'json' || (defined('RUN_MODE') && RUN_MODE == 'api')) die($endResponseException->getContent());
echo $endResponseException->getContent();
die($endResponseException->getContent());
}
}