diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-03-17 18:56:01 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-03-17 18:56:01 +0000 |
| commit | 208fc9db683c51e3bcf1f24d1e5e0200e0f32d96 (patch) | |
| tree | 68ef623d8c6e13cc15fc2fe6dbe13a32585b9fa6 /kohana/libraries/Input.php | |
| parent | 3f87c16223d7aca44f432efe99b35ab7afb0dbe4 (diff) | |
Update Kohana to r4081.
This resolves ticket http://dev.kohanaphp.com/ticket/1156
1156: "Table prefix gets append to column name"
All tests pass.
Diffstat (limited to 'kohana/libraries/Input.php')
| -rw-r--r-- | kohana/libraries/Input.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kohana/libraries/Input.php b/kohana/libraries/Input.php index 3cdef0b8..04e8ee4d 100644 --- a/kohana/libraries/Input.php +++ b/kohana/libraries/Input.php @@ -31,13 +31,13 @@ class Input_Core { */ public static function instance() { - if (self::$instance === NULL) + if (Input::$instance === NULL) { // Create a new instance return new Input; } - return self::$instance; + return Input::$instance; } /** @@ -51,7 +51,7 @@ class Input_Core { // Use XSS clean? $this->use_xss_clean = (bool) Kohana::config('core.global_xss_filtering'); - if (self::$instance === NULL) + if (Input::$instance === NULL) { // magic_quotes_runtime is enabled if (get_magic_quotes_runtime()) @@ -140,7 +140,7 @@ class Input_Core { } // Create a singleton - self::$instance = $this; + Input::$instance = $this; Kohana::log('debug', 'Global GET, POST and COOKIE data sanitized'); } |
