Replaced addslashes with $this->db->escape
Fixed bug with holidays log