X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_mods.php;h=5f6040be70e615f4bacaa818c18db0da209ade22;hb=ebb430722eb0418a8b14fe95a140a70423993318;hp=eeb980ca5adaa02d4c1ae0420d2c37d38a18cce9;hpb=a39205eb2ce8514510dcecb7bd0fdf4444ab5c05;p=mailer.git diff --git a/inc/modules/admin/what-config_mods.php b/inc/modules/admin/what-config_mods.php index eeb980ca5a..5f6040be70 100644 --- a/inc/modules/admin/what-config_mods.php +++ b/inc/modules/admin/what-config_mods.php @@ -53,7 +53,7 @@ if (isFormSent('edit')) { foreach (postRequestParameter('sel') as $id => $sel) { // Load module data // @TODO This can be moved into mysql-function.php, see checkModulePermissions() function - $result = SQL_QUERY_ESC("SELECT `id`, `module`, `title`, `locked`, `hidden`, `admin_only`, `mem_only` FROM `{?_MYSQL_PREFIX?}_mod_reg` WHERE `id`=%s LIMIT 1", + $result = SQL_QUERY_ESC("SELECT `id`,`module`,`title`,`locked`,`hidden`,`admin_only`,`mem_only` FROM `{?_MYSQL_PREFIX?}_mod_reg` WHERE `id`=%s LIMIT 1", array(bigintval($id)), __FILE__, __LINE__); // Load data @@ -118,7 +118,7 @@ if (isFormSent('edit')) { if (!ifPostContainsSelections()) { // Load module data (We do not need to check if there's at least one...) $result = SQL_QUERY('SELECT - `id`, `module`, `locked`, `hidden`, `admin_only`, `title`, `mem_only` + `id`,`module`,`locked`,`hidden`,`admin_only`,`title`,`mem_only` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY