Compatibility to 1.6

Replaced deprecated $this -> fetch_param with $this -> fetchParam after
log warnings.