" The bill should not be looked at as a panacea to solve all gun-related crime problems that we have in the city , " warned then-council member John A. Wilson ( D ) , after the council passed the measure , 12 to 1 , and the mayor signed it into law in July 1976 .