fixing deprecated php that causes ticket selection to not work
loushou