summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Haste <tomhaste@gmail.com>2008-09-25 13:25:07 +0000
committerTom Haste <tomhaste@gmail.com>2008-09-25 13:25:07 +0000
commitd452b9c9bcc5610fccb7a416d50b37ce05d94dfa (patch)
tree2a96282db36573861ddaa5761feebc27430a541d
parenta640a66e445971f9db24a9d27e16b434151fd97a (diff)
Exchange fix. mcalamelli's suggestion
SVN revision: 36252
-rw-r--r--exchange/apps/exchange/modules/api/actions/actions.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/exchange/apps/exchange/modules/api/actions/actions.class.php b/exchange/apps/exchange/modules/api/actions/actions.class.php
index 5639ff3..b1b6baa 100644
--- a/exchange/apps/exchange/modules/api/actions/actions.class.php
+++ b/exchange/apps/exchange/modules/api/actions/actions.class.php
@@ -124,7 +124,7 @@ class apiActions extends exchangeActions
124 '(SELECT ag.theme_group_id FROM ApplicationThemeGroup ag where ag.application_id = ?))', array($application_id)); 124 '(SELECT ag.theme_group_id FROM ApplicationThemeGroup ag where ag.application_id = ?))', array($application_id));
125 } elseif ($module_id) { 125 } elseif ($module_id) {
126 $q = $q->addWhere('t.id IN (SELECT ttg.theme_id from ThemeThemeGroup ttg where ttg.theme_group_id IN ' . 126 $q = $q->addWhere('t.id IN (SELECT ttg.theme_id from ThemeThemeGroup ttg where ttg.theme_group_id IN ' .
127 '(SELECT mg.theme_group_id FROM MaduleThemeGroups mg where mg.madule_id = ?))', array($module_id)); 127 '(SELECT mg.theme_group_id FROM MaduleThemeGroup mg where mg.madule_id = ?))', array($module_id));
128 } elseif ($theme_group_id) 128 } elseif ($theme_group_id)
129 $q = $q->innerJoin('t.ThemeThemeGroups ttg')->addWhere('ttg.theme_group_id = ?', array($theme_group_id)); 129 $q = $q->innerJoin('t.ThemeThemeGroups ttg')->addWhere('ttg.theme_group_id = ?', array($theme_group_id));
130 if ($user_id) 130 if ($user_id)