Permalink
Browse files

Update index.php

  • Loading branch information...
tubescript committed Feb 19, 2017
1 parent 7ceda32 commit 5b72e0c7a913b80da6d44abe7bc918920a9c4dcf
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.php
View
@@ -18,7 +18,7 @@
if($_POST['tag']) $_GET['tag']=$_POST['tag'];
$tag=strip_tags(stripslashes($_GET['tag']));
-if(!preg_match("/[a-zA-Z0-9_/s]/i",$tag)) $tag="";
+if(!preg_match("/[a-zA-Z0-9_\s]/i",$tag)) $tag="";
// Inclusions
if(file_exists("includes/config.php") and filesize("includes/config.php")>0){

0 comments on commit 5b72e0c

Please sign in to comment.