Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

#2116 closed defect (bug) (fixed)

s not set in bp-core-templatetags.php

Reported by: edelwater's profile edelwater Owned by:
Milestone: 1.5 Priority: minor
Severity: Version:
Component: 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'];
	}	

Change History (1)

#1 @johnjamesjacoby
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3092]) Fix #2116 props edelwater

Note: See TracTickets for help on using tickets.