Gameserver addon description <-> Linebreak #825

This commit is contained in:
Ulrich Block 2016-05-07 11:46:28 +02:00
parent 25268e36e9
commit 8b34afe962

View File

@ -197,7 +197,7 @@ if ($ui->id('id', 10, 'get') and $ui->id('adid', 10, 'get') and in_array($ui->st
$descriptionrow = $query->fetchColumn();
}
$addescription = nl2br($descriptionrow);
$addescription = $descriptionrow;
$query3 = ($protected == 'Y') ? $sql->prepare("SELECT `id` FROM `addons_installed` WHERE `userid`=? AND `serverid`=? AND `addonid`=? AND `servertemplate`=? AND `paddon`='Y' AND `resellerid`=? LIMIT 1") : $sql->prepare("SELECT `id` FROM `addons_installed` WHERE `userid`=? AND `serverid`=? AND `addonid`=? AND `servertemplate`=? AND `resellerid`=? LIMIT 1");
$query3->execute(array($user_id, $serverid, $adid, $servertemplate, $resellerLockupID));