5249 replaced intval() for patchID with $addslashes() 

$addslashes() allows leading 0 for patch IDs