freeside/httemplate/search cust_main-otaker.cgi,1.1.4.1,1.1.4.2
ivan
ivan at pouncequick.420.am
Fri Jun 18 03:28:20 PDT 2004
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv13192/httemplate/search
Modified Files:
Tag: FREESIDE_1_4_BRANCH
cust_main-otaker.cgi
Log Message:
masonize fix: avoid newline prepend fix from borking indented first <%, fixes customer search by otaker under mason, closes: Bug#830
Index: cust_main-otaker.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main-otaker.cgi,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- cust_main-otaker.cgi 10 Jun 2004 11:28:20 -0000 1.1.4.1
+++ cust_main-otaker.cgi 18 Jun 2004 10:28:18 -0000 1.1.4.2
@@ -10,10 +10,9 @@
<FORM ACTION="cust_main.cgi" METHOD="post">
Search for <B>Order taker</B>:
<INPUT TYPE="hidden" NAME="otaker_on" VALUE="TRUE">
- <% my $dbh = dbh;
- my $sth = $dbh->prepare("SELECT DISTINCT otaker FROM cust_main")
- or eidiot $dbh->errstr;
- $sth->execute() or eidiot $sth->errstr;
+ <% my $sth = dbh->prepare("SELECT DISTINCT otaker FROM cust_main")
+ or die dbh->errstr;
+ $sth->execute() or die $sth->errstr;
# my @otakers = map { $_->[0] } @{$sth->selectall_arrayref};
%>
<SELECT NAME="otaker">
More information about the freeside-commits
mailing list