projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10971e5
)
Use dedicated exit_no_group()
author
Alain Peyrat
<aljeux@free.fr>
Mon, 28 Jun 2010 17:29:25 +0000
(17:29 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Mon, 28 Jun 2010 17:29:25 +0000
(17:29 +0000)
src/common/include/session.php
patch
|
blob
|
history
diff --git
a/src/common/include/session.php
b/src/common/include/session.php
index 6c0f036d0cef81402c540d7dd2a6b37a2be29bfe..7a9821355237e29904dfae72b2c6c82361a4d94d 100644
(file)
--- a/
src/common/include/session.php
+++ b/
src/common/include/session.php
@@
-363,7
+363,7
@@
function session_require($req, $reason='') {
if (array_key_exists('group', $req)) {
$group =& group_get_object($req['group']);
if (!$group || !is_object($group)) {
- exit_
error('Error',$reason == '' ? _('Could Not Get Group') : $reason
);
+ exit_
no_group(
);
} elseif ($group->isError()) {
exit_error('Error',$reason == '' ? $group->getErrorMessage() : $reason);
}