2013-06-11 Miguel de Dios <miguel.dedios@artica.es>

* operation/events/events_list.php, operation/events/events.php:
	fixed the free text search when there is characters as "(".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-06-11 13:40:36 +00:00
parent 6ff1234704
commit dc7f8d58bd
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-06-11 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_list.php, operation/events/events.php:
fixed the free text search when there is characters as "(".
2013-06-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_template.php,

View File

@ -215,7 +215,7 @@ $tag_without = json_decode($tag_without_json_clean, true);
if (empty($tag_without)) $tag_without = array();
$tag_without = array_diff($tag_without, array(0 => 0));
$search = io_safe_output(preg_replace ("/&([A-Za-z]{0,4}\w{2,3};|#[0-9]{2,3};)/", "&", rawurldecode (get_parameter ("search"))));
$search = io_safe_output(get_parameter ("search"));
users_get_groups ($config["id_user"], "ER");

View File

@ -348,7 +348,7 @@ $table_advanced->data = array();
$data = array();
$data[0] = __('Free search') . '<br>';
$data[0] .= html_print_input_text ('search', io_safe_output($search), '', 25, 255, true);
$data[0] .= html_print_input_text ('search', $search, '', 25, 255, true);
$data[1] = __('Agent search') . '<br>';
$params = array();
$params['show_helptip'] = true;