Mercurial > hg > fapweb
comparison admajax.js.php @ 1104:0a2117349f46
s/true/TRUE/g; s/false/FALSE/g;
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 14 May 2019 14:45:36 +0300 |
parents | 95b74632cfe2 |
children | b2bca5f6d0ff |
comparison
equal
deleted
inserted
replaced
1103:1fe7df7c77fb | 1104:0a2117349f46 |
---|---|
29 "var jsSettingsArgs = [];\n"; | 29 "var jsSettingsArgs = [];\n"; |
30 | 30 |
31 foreach (stExecSQL("SELECT * FROM settings_groups") as $group) | 31 foreach (stExecSQL("SELECT * FROM settings_groups") as $group) |
32 { | 32 { |
33 $args = array(); | 33 $args = array(); |
34 if (($res = stExecSQL("SELECT * FROM settings WHERE vgroup=".$group["id"])) !== false) | 34 if (($res = stExecSQL("SELECT * FROM settings WHERE vgroup=".$group["id"])) !== FALSE) |
35 { | 35 { |
36 foreach ($res as $item) | 36 foreach ($res as $item) |
37 { | 37 { |
38 switch ($item["vtype"]) | 38 switch ($item["vtype"]) |
39 { | 39 { |