Opened 16 years ago
Closed 16 years ago
#2116 closed defect (bug) (fixed)
s not set in bp-core-templatetags.php
| Reported by: | edelwater | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.5 |
| Component: | Version: | ||
| Severity: | Keywords: | bug | |
| Cc: | deleau@… |
Description
error:
Undefined index: s in /var/www/vhosts/xxxxx.com/httpdocs/wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php on line 135
solution: replace with:
if(isset($_REQUEST['s']) && ($_REQUEST['s'] !="")) {
$search_terms = $_REQUEST['s'];
}
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [3092]) Fix #2116 props edelwater