Try updating that line to:
$rsPR->bindParam("i", "".(isset($_GET['package'])?$_GET['package']:"6") ."", "6"); //colname
If you give me FTP access I can look into the problem with it not using the default value and get it corrected directly, but this work around should make it use 6 if the url parameter isn't set for now.