lvhao преди 3 дни
родител
ревизия
095c722ef4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/CoreApp/controllers/Fullorder.php

+ 1 - 1
core/CoreApp/controllers/Fullorder.php

@@ -376,7 +376,7 @@ class Fullorder extends Start_Controller {
             }
 			if($email)
             {
-                $where  .= " and email = '$email'";
+                $where  .= " and ((email = '$email') or (send_email = '$email')) ";
             }
 			if($phone)
             {