Better error reporting
[Pman.Core] / SendIntro.php
index c3187f1..6108d49 100644 (file)
@@ -28,7 +28,7 @@ class Pman_Core_SendIntro extends Pman
         
         $au = $this->getAuthUser();
         if (!$au) {
-            $this->jerr("Not authenticated", array('authFailure' => true));
+            $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true));
         }
         $this->authUser = $au;
         // check that it's a supplier!!!!