projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4da867
)
Fixes typo (== instead of =)
author
Pascal Corpet
<pascal.corpet@m4x.org>
Mon, 25 Oct 2010 18:36:36 +0000
(20:36 +0200)
committer
Pascal Corpet
<pascal.corpet@m4x.org>
Mon, 25 Oct 2010 21:49:24 +0000
(23:49 +0200)
modules/carnet.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/carnet.php
b/modules/carnet.php
index
88471ae
..
f5f4cb3
100644
(file)
--- a/
modules/carnet.php
+++ b/
modules/carnet.php
@@
-415,7
+415,7
@@
class CarnetModule extends PLModule
$user = Platal::session()->tokenAuth($alias, $hash);
if (is_null($user)) {
if (S::logged()) {
- $user =
=
S::user();
+ $user = S::user();
} else {
return PL_FORBIDDEN;
}
@@
-445,7
+445,7
@@
class CarnetModule extends PLModule
$user = Platal::session()->tokenAuth($alias, $hash);
if (is_null($user)) {
if (S::logged()) {
- $user =
=
S::user();
+ $user = S::user();
} else {
return PL_FORBIDDEN;
}