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