diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-04 14:34:56 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-04 14:34:56 +0200 |
commit | 5036c9caabb12f90b9533d7fb417610e02a652ff (patch) | |
tree | ff5fd9f6a0932e4d537482fd3ec5a3652188a950 /system/libraries/Trackback.php | |
parent | e4c30195c5f6dc7a144cfe4ee160b18626626612 (diff) |
Revert/optimize some changes from 773ccc318f2769c9b7579630569b5d8ba47b114b and d261b1e89c3d4d5191036d5a5660ef6764e593a0
Diffstat (limited to 'system/libraries/Trackback.php')
-rw-r--r-- | system/libraries/Trackback.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Trackback.php b/system/libraries/Trackback.php index 0da85a022..9a680dc2a 100644 --- a/system/libraries/Trackback.php +++ b/system/libraries/Trackback.php @@ -132,7 +132,7 @@ class CI_Trackback { { foreach (array('url', 'title', 'blog_name', 'excerpt') as $val) { - if ( ! isset($_POST[$val]) OR $_POST[$val] === '') + if (empty($_POST[$val])) { $this->set_error('The following required POST variable is missing: '.$val); return FALSE; |