projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove debug
[Pman.Core]
/
GroupMembers.php
diff --git
a/GroupMembers.php
b/GroupMembers.php
index
cbac46a
..
ce061d7
100644
(file)
--- a/
GroupMembers.php
+++ b/
GroupMembers.php
@@
-15,7
+15,7
@@
class Pman_Core_GroupMembers extends Pman
parent::getAuth(); // load company!
$au = $this->getAuthUser();
if (!$au) {
parent::getAuth(); // load company!
$au = $this->getAuthUser();
if (!$au) {
- $this->jerr
(
"Not authenticated", array('authFailure' => true));
+ $this->jerr
or("LOGIN-NOAUTH",
"Not authenticated", array('authFailure' => true));
}
if ($au->company()->comptype != 'OWNER') {
$this->jerr("Permission Denied" );
}
if ($au->company()->comptype != 'OWNER') {
$this->jerr("Permission Denied" );
@@
-103,7
+103,7
@@
class Pman_Core_GroupMembers extends Pman
}
}
- function post()
+ function post(
$v
)
{
if (empty($_POST['group_id']) || (int)$_POST['group_id'] < 1) {
$this->jerr("NO GROUP");
{
if (empty($_POST['group_id']) || (int)$_POST['group_id'] < 1) {
$this->jerr("NO GROUP");