Vergleich inc/functions_massmail.php - 1.4.3 - 1.4.15

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id$

 * $Id: functions_massmail.php 5379 2011-02-21 11:06:42Z Tomm $

 */

/**

 */

/**

Zeile 24Zeile 24
		return '';
}


		return '';
}


	$search_sql = '1=1';

	$search_sql = 'u.allownotices=1';


// List of valid LIKE search fields
$user_like_fields = array("username", "email");


// List of valid LIKE search fields
$user_like_fields = array("username", "email");

Zeile 74Zeile 74
				case "sqlite3":
case "sqlite2":
$additional_sql .= " OR ','||additionalgroups||',' LIKE '%,{$usergroup},%'";

				case "sqlite3":
case "sqlite2":
$additional_sql .= " OR ','||additionalgroups||',' LIKE '%,{$usergroup},%'";

 
					break;

				default:
$additional_sql .= " OR CONCAT(',',additionalgroups,',') LIKE '%,{$usergroup},%'";
}
}

				default:
$additional_sql .= " OR CONCAT(',',additionalgroups,',') LIKE '%,{$usergroup},%'";
}
}

		$search_sql .= " AND (u.usergroup IN (".implode(",", $conditions['usergroup']).") {$additional_sql})";

		$search_sql .= " AND (u.usergroup IN (".$db->escape_string(implode(",", $conditions['usergroup'])).") {$additional_sql})";

	}

return $search_sql;

	}

return $search_sql;