projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
7679a55
)
Merge branch 'fusionax' into account
author
Vincent Zanotti
<vincent.zanotti@m4x.org>
Sat, 11 Apr 2009 01:20:01 +0000
(
03:20
+0200)
committer
Vincent Zanotti
<vincent.zanotti@m4x.org>
Sat, 11 Apr 2009 01:20:01 +0000
(
03:20
+0200)
Conflicts:
classes/user.php
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
classes/user.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/user.php
b/classes/user.php
index
d048e5a
..
c533bd1
100644
(file)
--- a/
classes/user.php
+++ b/
classes/user.php
@@
-29,6
+29,10
@@
class User extends PlUser
{
global $globals;
+ if (!$login) {
+ throw new UserNotFoundException();
+ }
+
if ($login instanceof User) {
$machin->id();
}