More queries and language constants rewritten
[mailer.git] / inc / modules / admin / what-config_home.php
index 3a9c3ae627bc7120311c361b30a4ca60a20a590d..9c3ae2cc5b8eee198229baa2a5ccaa1c6a82fdc1 100644 (file)
@@ -73,7 +73,7 @@ case "target": // Set which what-file will be placed in home-page (only modules.
        // Load all what menu points
        $result = SQL_QUERY("SELECT id, what, title
 FROM `{!_MYSQL_PREFIX!}_guest_menu`
-WHERE action='main' AND `what` != '' AND `what` IS NOT NULL AND `locked`='N'
+WHERE `action`='main' AND `what` != '' AND `what` IS NOT NULL AND `locked`='N'
 ORDER BY `sort` ASC", __FILE__, __LINE__);
 
        $SW = 2; $OUT = ""; $atitle = "";