quentusrex
2008-10-30 b62cfedfdd4b037aa4cdad3914c8a6a062a37fa0
interface/web/mail/mail_get_edit.php
@@ -92,7 +92,7 @@
      } // end if user is not admin
      
      // Set the server ID according to the selected destination
      $tmp = $app->db->queryOneRecord("SELECT server_id FROM mail_user WHERE email = '".addslashes($this->dataRecord["destination"])."'");
      $tmp = $app->db->queryOneRecord("SELECT server_id FROM mail_user WHERE email = '".mysql_real_escape_string($this->dataRecord["destination"])."'");
      $this->dataRecord["server_id"] = $tmp["server_id"];
      unset($tmp);