fixed #2923 multi dimensional array in session

Needs review test data is 

`` $this->session->set_userdata('string', array('string1', array('string1', 'string2', 'string3')));
          echo '<pre>';
          var_dump($this->session->userdata('string'));