fully-qualify
[freeside.git] / 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