summaryrefslogtreecommitdiff
path: root/modules/gallery
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery')
-rw-r--r--modules/gallery/helpers/MY_valid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/MY_valid.php b/modules/gallery/helpers/MY_valid.php
index 68712302..ee17267a 100644
--- a/modules/gallery/helpers/MY_valid.php
+++ b/modules/gallery/helpers/MY_valid.php
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class valid extends valid_Core {
- public static function url($url) {
+ static function url($url) {
return valid_Core::url($url) &&
(!strncasecmp($url, "http://", strlen("http://")) ||
!strncasecmp($url, "https://", strlen("https://")));