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

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