Skip to content

Commit ce5514a

Browse files
author
mreishman
committed
fixed if statement in git branch logic
1 parent 6c8114d commit ce5514a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/php/functions/gitBranchName.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function getBranchStats($location)
191191
}
192192

193193

194-
if(($pollType === 1) || ($pollType === null && isset($_POST['location']) && isset($_POST['name']) && isset($_POST['websiteBase'])) && $disablePostRequestWithPostData === "false")
194+
if($disablePostRequestWithPostData === "false" && ($pollType === 1 || ($pollType === null && isset($_POST['location']) && isset($_POST['name']) && isset($_POST['websiteBase']))))
195195
{
196196
//Poll Type 1
197197

0 commit comments

Comments
 (0)