fix inability to stop zm from the web console

This commit is contained in:
Andrew Bauer 2020-08-03 12:10:34 -05:00 committed by GitHub
parent a3e6fe5522
commit ab9a135759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//
global $running;
if ( !canEdit('System') ) {
$view = 'error';