]> git.pld-linux.org Git - packages/lms.git/commitdiff
- BTS#0000862: Fixed bug in SQL query on MySQL
authorSÅ‚awomir Paszkiewicz <paszczus@pld-linux.org>
Thu, 7 Apr 2011 06:10:02 +0000 (06:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lms-promotionlist.php.patch -> 1.1

lms-promotionlist.php.patch [new file with mode: 0644]

diff --git a/lms-promotionlist.php.patch b/lms-promotionlist.php.patch
new file mode 100644 (file)
index 0000000..15ef977
--- /dev/null
@@ -0,0 +1,19 @@
+--- modules/promotionlist.php  2011/03/02 10:31:05     1.1
++++ modules/promotionlist.php  2011/03/21 07:57:57     1.2
+@@ -21,14 +21,14 @@
+  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+  *  USA.
+  *
+- *  $Id$
++ *  $Id$
+  */
+ $layout['pagetitle'] = trans('Promotions List');
+ $promolist = $DB->GetAll('SELECT p.id, p.name, p.description, disabled,
+                       (SELECT COUNT(*) FROM promotionschemas
+-                              WHERE p.id = promotionid) AS schemas,
++                              WHERE p.id = promotionid) AS scs,
+                       (SELECT COUNT(DISTINCT a.tariffid)
+                           FROM promotionassignments a
+                               JOIN promotionschemas s ON (s.id = a.promotionschemaid)
This page took 0.076025 seconds and 4 git commands to generate.