[freeside-commits] freeside/httemplate/elements select-part_pkg.html, 1.6, 1.7
Ivan,,,
ivan at wavetail.420.am
Wed Apr 21 02:31:36 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv2557
Modified Files:
select-part_pkg.html
Log Message:
"
Index: select-part_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/select-part_pkg.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- select-part_pkg.html 21 Apr 2010 08:57:12 -0000 1.6
+++ select-part_pkg.html 21 Apr 2010 09:31:34 -0000 1.7
@@ -45,6 +45,7 @@
} #else -1 or not specified, all classes, so don't set classnum
}
-$opt{'extra_sql'} .= ' AND '. FS::part_pkg->curuser_pkgs_sql;
+$opt{'extra_sql'} .= ( keys(%hash) ? ' AND ' : ' WHERE ' ).
+ FS::part_pkg->curuser_pkgs_sql;
</%init>
More information about the freeside-commits
mailing list