fully-qualify
authorIvan Kohler <ivan@freeside.biz>
Sun, 18 Jan 2015 22:40:00 +0000 (14:40 -0800)
committerIvan Kohler <ivan@freeside.biz>
Sun, 18 Jan 2015 22:40:00 +0000 (14:40 -0800)
FS/FS/svc_Common.pm

index 9c25922..fbb9df7 100644 (file)
@@ -1394,7 +1394,7 @@ sub search {
 
   #custnum
   if ( $params->{'custnum'} =~ /^(\d+)$/ && $1 ) {
-    push @where, "custnum = $1";
+    push @where, "cust_pkg.custnum = $1";
   }
 
   #customer status