diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-11-13 13:56:09 -0800 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-11-13 13:56:09 -0800 |
commit | 030141fb5c151649e32dcc286a65102531c96558 (patch) | |
tree | cd5a24dba54874692627ff6ec4a2c5134672a456 /inc/media.php | |
parent | 8c6972a8f03b0f7b61f8f8f372695fe8f1d2e72a (diff) | |
parent | fe578fe947d692a258e3a5f436b6359ada06c8da (diff) | |
download | rpg-030141fb5c151649e32dcc286a65102531c96558.tar.gz rpg-030141fb5c151649e32dcc286a65102531c96558.tar.bz2 |
Merge pull request #422 from glensc/patch-1
media_isexternal do not capture
Diffstat (limited to 'inc/media.php')
-rw-r--r-- | inc/media.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/media.php b/inc/media.php index 6b87960e1..d69426414 100644 --- a/inc/media.php +++ b/inc/media.php @@ -90,7 +90,7 @@ function media_metasave($id,$auth,$data){ * @return bool */ function media_isexternal($id){ - if (preg_match('#^(https?|ftp)://#i', $id)) return true; + if (preg_match('#^(?:https?|ftp)://#i', $id)) return true; return false; } |