Fixed a couple of undefined variables errors in search
Fixed a couple of undefined variables errors in search

Signed-off-by: emanuele <ac2faa8b943b3fcadaf05ed2541f4eebde440ed7@gmail.com>

wizardaf/Elkarte,StealthWombat/How-to-fork-an-Elk,interlab/Elkarte,elkarte/Elkarte,MustafaCan/SMF2.1,elkarte/Elkarte,emanuele45/Dialogo,Spuds/Elkarte,StealthWombat/SMF2.1-more-forkery,StealthWombat/How-to-fork-an-Elk,mkress/SMF2.1,interlab/Elkarte,MustafaCan/SMF2.1,wizardaf/Elkarte,wizardaf/Elkarte,mkress/SMF2.1,interlab/Elkarte,emanuele45/Dialogo,mkress/SMF2.1,elkarte/Elkarte,georaldc/SMF2.1,joshuaadickerson/Elkarte2,joshuaadickerson/Elkarte2,Spuds/Elkarte,emanuele45/Dialogo,StealthWombat/How-to-fork-an-Elk,StealthWombat/How-to-fork-an-Elk,nwsw/Elkarte,margarett/SMF2.1,Spuds/Elkarte,nwsw/Elkarte,wizardaf/Elkarte,margarett/SMF2.1,Ant59/Elkarte,StealthWombat/SMF2.1-more-forkery,georaldc/SMF2.1,Ant59/Elkarte,joshuaadickerson/Elkarte2,joshuaadickerson/Elkarte2,Ant59/Elkarte,nwsw/Elkarte