X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=GroupCountries.php;h=fdd8fca9f78d43656c164faae8545e0ba0f5de10;hb=refs%2Fheads%2Fmaster;hp=e694d8d8668675773cd932c36d01202837cbae7e;hpb=ec0aeed498ac6b7b47dad43098d5c2a9eb641976;p=Pman.Core diff --git a/GroupCountries.php b/GroupCountries.php index e694d8d8..fdd8fca9 100644 --- a/GroupCountries.php +++ b/GroupCountries.php @@ -15,7 +15,7 @@ class Pman_Core_GroupCountries extends Pman parent::getAuth(); // load company! $au = $this->getAuthUser(); if (!$au) { - $this->jerr("Not authenticated", array('authFailure' => true)); + $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true)); } if ($au->company()->comptype != 'OWNER') { $this->jerr("Permission Denied" );