projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54cccfc
)
Fixes visibility comparison.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 19 Sep 2011 07:52:44 +0000
(09:52 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 19 Sep 2011 07:52:51 +0000
(09:52 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/visibility.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/visibility.php
b/classes/visibility.php
index
dba6578
..
34036af
100644
(file)
--- a/
classes/visibility.php
+++ b/
classes/visibility.php
@@
-131,7
+131,7
@@
class Visibility
{
// self::$display_levels is order from least restrictive
// to most restrictive.
- return self::$display_levels[$
a] >= self::$display_levels[$
b];
+ return self::$display_levels[$
level_a] >= self::$display_levels[$level_
b];
}
/** Compare the visibility of two fields.