From 4a2b60f966bc4f3b62868158fe034fd33cca1c83 Mon Sep 17 00:00:00 2001 From: KasperRT Date: Thu, 19 Feb 2015 16:59:03 +0100 Subject: [PATCH] Fixing new feature bug --- php/change.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/change.php b/php/change.php index 42f2b5e5..5f4d596e 100755 --- a/php/change.php +++ b/php/change.php @@ -214,7 +214,7 @@ else if(isset($_GET['skip'])){ //skip, $q = array_key_exists("skip", $q); $viewers=count($data["conf"]["views"]); $skips=count($data["conf"]["skips"]); //Counting how many GUIDS there are under the skip key - if(!in_array($guid, $data["conf"]["skips"]) && ($data["conf"]["skip"] == "true" || $q != 1)){ //If the users GUID isn't in the array, its added + if(!in_array($guid, $data["conf"]["skips"]) && ($data["conf"]["skip"] == "true" || $q != 1 || $data["conf"]["skip"] == "")){ //If the users GUID isn't in the array, its added array_push($data["conf"]["skips"], $guid); $skips+=1; //and the number of skips is upped //$data["conf"]["skips"]=$skips;