The handbrake lever has a switch under it to sense that the handbrake is on/off it may have fallen off and run down the console to the gear lever.
Is the handbrake light on or off all the time ?
ok i had a look at my handbrake switch it's completely different as i thought that is defo a door switch why it's in the centre of the car i don't know