| @@ 154-159 (lines=6) @@ | ||
| 151 | $cat = 'default'; |
|
| 152 | } |
|
| 153 | } |
|
| 154 | if (isset($this->keys[$cat])) { |
|
| 155 | $cat = $this->keys[$cat]; |
|
| 156 | } else { |
|
| 157 | $name = $cat.'.'.$name; |
|
| 158 | $cat = $this->keys['default']; |
|
| 159 | } |
|
| 160 | if (is_null($name)) { |
|
| 161 | unset($_SESSION[$cat]); |
|
| 162 | } else { |
|
| @@ 186-191 (lines=6) @@ | ||
| 183 | $cat = 'default'; |
|
| 184 | } |
|
| 185 | } |
|
| 186 | if (isset($this->keys[$cat])) { |
|
| 187 | $cat = $this->keys[$cat]; |
|
| 188 | } else { |
|
| 189 | $name = $cat.'.'.$name; |
|
| 190 | $cat = $this->keys['default']; |
|
| 191 | } |
|
| 192 | if (is_null($name)) { |
|
| 193 | if (! isset($_SESSION[$cat])) { |
|
| 194 | $_SESSION[$cat] = null; |
|