diff options
Diffstat (limited to 'inc/poche/Url.class.php')
-rw-r--r-- | inc/poche/Url.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Url.class.php b/inc/poche/Url.class.php index 302700a9..d7ee911f 100644 --- a/inc/poche/Url.class.php +++ b/inc/poche/Url.class.php | |||
@@ -27,7 +27,7 @@ class Url | |||
27 | 27 | ||
28 | public function isCorrect() | 28 | public function isCorrect() |
29 | { | 29 | { |
30 | return filter_var($this->url, FILTER_VALIDATE_URL); | 30 | return filter_var($this->url, FILTER_VALIDATE_URL) !== FALSE; |
31 | } | 31 | } |
32 | 32 | ||
33 | public function clean() | 33 | public function clean() |