X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=GroupCountries.php;fp=GroupCountries.php;h=fdd8fca9f78d43656c164faae8545e0ba0f5de10;hb=53b45f75f244d22e86bfad89633ffcad1bdfb49e;hp=e694d8d8668675773cd932c36d01202837cbae7e;hpb=38d402b7d2050f2cfb18ea21d740376e60088362;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" );