| @@ -1,5 +1,5 @@ | ||
| 1 | -<?php defined('ABSPATH') or die("Protected By Webtotem Wordpress Security!"); | |
| 1 | +<?php defined('ABSPATH') or die("Protected By WT!"); | |
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | class WTSEC_LIBRARY_Request |
| 5 | 5 | { |
| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | public function __get($name) |
| 34 | 34 | { |
| 35 | - if (!is_null($this->request) && array_key_exists($name, $this->request)) { | |
| 35 | + if (!is_null($this->request) && property_exists($this->request, $name)) { | |
| 36 | 36 | return $this->request->$name; |
| 37 | 37 | } |
| 38 | 38 | if (isset($this->$name)) { |
| 39 | 39 | return $this->$name; |