Part of the EllisLab Network
   
2 of 2
2
Whence Library
Posted: 07 February 2011 09:03 PM   [ Ignore ]   [ # 11 ]  
Summer Student
Avatar
Total Posts:  7
Joined  02-06-2011

I find that sometimes the lenght of the array in userdata[‘whence’] will less than the maxhence, so I add one more condition checking at line 15:

if(!isset($this->_ci->session->userdata[‘whence’]) || count($this->_ci->session->userdata[‘whence’]) < $this->maxwhence)
      {
        $this->clearwhence();
      }

Profile
 
 
Posted: 07 February 2011 10:05 PM   [ Ignore ]   [ # 12 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  474
Joined  01-30-2011

Eh? Where is the redirect function loaded? I don’t see any instance of a call to $this->load->helper(‘url’);

 Signature 

This is the wonderful logo InsiteFX did for me. I had to scale it for this site. But his work is worth showing off.

Profile
 
 
   
2 of 2
2