mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 17:52:26 +01:00 
			
		
		
		
	Fixed handling empty result from email session var
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		| @@ -647,6 +647,8 @@ class ModelSearchSearch extends Model { | ||||
|  | ||||
|       $emails = $session->get($session_var); | ||||
|  | ||||
|       if(!$emails) { return $s; } | ||||
|  | ||||
|       while(list($k, $v) = each($emails)) { | ||||
|          if($s) { $s .= '| ' .  $this->fix_email_address_for_sphinx($v); } | ||||
|          else { $s = $this->fix_email_address_for_sphinx($v); } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user