projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdb81da
)
JavascriptError.php
author
Alan Knowles
<alan@roojs.com>
Wed, 9 Mar 2016 07:26:28 +0000
(15:26 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 Mar 2016 07:26:28 +0000
(15:26 +0800)
JavascriptError.php
patch
|
blob
|
history
diff --git
a/JavascriptError.php
b/JavascriptError.php
index
ced68bd
..
9e3c13b
100644
(file)
--- a/
JavascriptError.php
+++ b/
JavascriptError.php
@@
-11,13
+11,10
@@
class Pman_Core_JavascriptError extends Pman {
parent::getAuth(); // load company!
$au = $this->getAuthUser();
- if (!$au) {
+ if (!$au
|| !$au->pid()
) {
die("authenticated Users only");
}
- if (!$au->pid() ) { // not set up yet..
- die("authenticated Users only");
- }
$this->authUser = $au;