Changeset 151
- Timestamp:
- 11/10/08 22:00:57 (1 year ago)
- Files:
-
- trunk/modules/status/libraries/Status.php (modified) (1 diff)
- trunk/user_guide/general/changelog.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/modules/status/libraries/Status.php
r123 r151 59 59 $data = $this->_fetch(); 60 60 61 // Append our message to the end 62 $data[$type][] = $message; 61 // Append our message to the end if not already created 62 if( !array_key_exists($type,$data) OR !in_array($message,$data[$type])) 63 { 64 $data[$type][] = $message; 63 65 64 // Save the data back into the session 65 $this->CI->session->set_userdata($this->flash_var,serialize($data)); 66 // Save the data back into the session 67 $this->CI->session->set_userdata($this->flash_var,serialize($data)); 68 } 66 69 } 67 70 trunk/user_guide/general/changelog.html
r150 r151 68 68 <h3>Bug Fixes</h3> 69 69 <ul> 70 <li>Fixed bug where status messages would get repeated if an ajax controller method was called, See <a href="http://trac2.assembla.com/backendpro/ticket/4">Bug #4</a></li> 70 71 <li>Fixed bug where if no user profile fields are created but the user profiles are turned on, it would error saying "Must you set method" when trying to save a edited user account, See <a href="http://trac2.assembla.com/backendpro/ticket/51">Bug #51</a></li> 71 72 <li>Fixed bug with <strong>unserialize() Spamming logs with errors</strong>, See <a href="http://trac2.assembla.com/backendpro/ticket/37">Bug #37</a></li>