Fixes for menu system (still SQL is broken)
[mailer.git] / inc / modules / admin / what-mem_add.php
index 176248721514b6e35b3630790859f3dc1e4c1298..6fe006f2cde1c62ac7ce77f32273275c8789bbd8 100644 (file)
@@ -109,7 +109,7 @@ if (!isFormSent()) {
                                // Read menu structure
                                while ($content = SQL_FETCHARRAY($result)) {
                                        // Menu actions
-                                       $menus[$value_main][] = $content['action'];
+                                       $menus[$value_main][] = $content['what'];
 
                                        // Menu titles
                                        $titles[$value_main][] = $content['title'];