Revision 466
Added by Matthias over 18 years ago
| trunk/wb/framework/class.frontend.php | ||
|---|---|---|
| 236 | 236 |
define('SHOW_SEARCH', true);
|
| 237 | 237 |
} elseif(SEARCH == 'private' AND VISIBILITY == 'private') {
|
| 238 | 238 |
define('SHOW_SEARCH', true);
|
| 239 |
} elseif(SEARCH == 'private' AND $wb->is_authenticated() == true) {
|
|
| 239 |
} elseif(SEARCH == 'private' AND $this->is_authenticated() == true) {
|
|
| 240 | 240 |
define('SHOW_SEARCH', true);
|
| 241 | 241 |
} else {
|
| 242 | 242 |
define('SHOW_SEARCH', false);
|
Also available in: Unified diff
fixed ticket #401