lvhao 3 dienas atpakaļ
vecāks
revīzija
095c722ef4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
             {