Till Brehm
2015-11-15 f4f981d8f98e4f74a8d69d05a31ab63e188ea808
interface/lib/classes/remote.d/mail.inc.php
@@ -370,7 +370,7 @@
      }
   
      //* Save the record
      if ($app->db->query("INSERT INTO `sys_remoteaction` SET `server_id` = ?, `tstamp` = ?, `action_type` = ?, `action_param` = ?, `action_state` = ?"), $server_id, $tstamp, $action_type, $primary_id, $action_state) {
      if ($app->db->query("INSERT INTO `sys_remoteaction` SET `server_id` = ?, `tstamp` = ?, `action_type` = ?, `action_param` = ?, `action_state` = ?", $server_id, $tstamp, $action_type, $primary_id, $action_state)) {
         return true;
      } else {
         return false;
@@ -1061,7 +1061,6 @@
         return false;
      }
      if (!empty($domain)) {
         $domain       = $app->db->quote($domain);
         $sql            = "SELECT * FROM mail_domain WHERE domain = ?";
         $result         = $app->db->queryAllRecords($sql, $domain);
         return          $result;