I think you only need to check this ($2 == $null) If there is a $2, there is a $1 too :D
Well it would also work this way good :)
Well it would also work this way good :)