Browse Source

Correção de bug no filtro por e-mail

master
Marco Rougeth 11 years ago
parent
commit
53e7340aa1
  1. 2
      index.php

2
index.php

@ -134,7 +134,7 @@ if ($formdata = $mform->get_data()) {
} }
// Email filter // Email filter
if (array_key_exists('email', $formdata)) { if (array_key_exists('email', $formdata) and !empty($formdata->email)) {
$email_like = $DB->sql_like('u.email', "'%{$formdata->email}%'", false); $email_like = $DB->sql_like('u.email', "'%{$formdata->email}%'", false);
$whereors[] = "($email_like)"; $whereors[] = "($email_like)";
} }

Loading…
Cancel
Save