Merge remote-tracking branch 'origin/0.9.31'

This commit is contained in:
Michael Kaufmann (d00p)
2013-12-16 13:37:01 +01:00
3 changed files with 5 additions and 5 deletions

View File

@@ -379,7 +379,7 @@ if ($page == 'overview') {
standard_error('youhavealreadyacatchallforthisdomain'); standard_error('youhavealreadyacatchallforthisdomain');
exit; exit;
} else { } else {
$stmt = Database::pexecute("UPDATE `" . TABLE_MAIL_VIRTUAL . "` $stmt = Database::prepare("UPDATE `" . TABLE_MAIL_VIRTUAL . "`
SET `email` = :email , `iscatchall` = '1' SET `email` = :email , `iscatchall` = '1'
WHERE `customerid`= :cid WHERE `customerid`= :cid
AND `id`= :id" AND `id`= :id"

View File

@@ -398,11 +398,11 @@ class ticket {
} }
$upd_stmt = Database::prepare(" $upd_stmt = Database::prepare("
UPDATE `' . TABLE_PANEL_TICKET_CATS . '` SET UPDATE `" . TABLE_PANEL_TICKET_CATS . "` SET
`name` = :name, `name` = :name,
`logicalorder` = :lo `logicalorder` = :lo
WHERE `id` = :id" WHERE `id` = :id
); ");
Database::pexecute($upd_stmt, array('name' => $_category, 'lo' => $_order, 'id' => $_id)); Database::pexecute($upd_stmt, array('name' => $_category, 'lo' => $_order, 'id' => $_id));
return true; return true;
} }

View File

@@ -301,7 +301,7 @@ class bind {
// Check whether to add a www.-prefix // Check whether to add a www.-prefix
if ($domain['wwwserveralias'] == '1') { if ($domain['wwwserveralias'] == '1') {
$records[] = str_replace('.' . $domain['domain'], '', $subdomain['domain']); $records[] = 'www.'.str_replace('.' . $domain['domain'], '', $subdomain['domain']);
} }
} }