projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pman.Gnumeric.js
[Pman.Core]
/
JavascriptError.php
diff --git
a/JavascriptError.php
b/JavascriptError.php
index
ced68bd
..
11f4deb
100644
(file)
--- a/
JavascriptError.php
+++ b/
JavascriptError.php
@@
-11,25
+11,22
@@
class Pman_Core_JavascriptError extends Pman {
parent::getAuth(); // load company!
$au = $this->getAuthUser();
parent::getAuth(); // load company!
$au = $this->getAuthUser();
- if (!$au) {
+ if (!$au
|| !$au->pid()
) {
die("authenticated Users only");
}
die("authenticated Users only");
}
- if (!$au->pid() ) { // not set up yet..
- die("authenticated Users only");
- }
$this->authUser = $au;
return true;
}
$this->authUser = $au;
return true;
}
- function get()
+ function get(
$v, $opts=array()
)
{
die("invalid url");
}
{
die("invalid url");
}
- function post()
+ function post(
$v
)
{
$this->addEvent("JSERROR", false,$_REQUEST['msg']);
{
$this->addEvent("JSERROR", false,$_REQUEST['msg']);