In order to Carry a Firearm in The City of The First Class..., i.e. Philadelphia, one needs a LTCH.
In order to Carry a Firearm Concealed on your Person, or in a Motor Vehicle one needs a LTCH.
If He was not in Philadelphia, and His Firearm was not Concealed or in a Vehicle, then, He needs no Permit to Carry a Firearm Openly throughout The Commonwealth of Pennsylvania.
Illegal Search and Seizure is a Violation of His Fourth Amendment Rights..., and the Carrying of a Firearm is not now, nor has ever been, an exception to His Fourth Amendment Rights.
He should Sue for Damages and He should also try to get a Court Injunction filed against the offending Law Enforcement Agency for Violating His Rights.