com web/bugs: Workaround for side report from bug #67513: include/functions.php

From: Date: Wed, 25 Jun 2014 16:01:45 +0000
Subject: com web/bugs: Workaround for side report from bug #67513: include/functions.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19348@lists.php.net to get a copy of this message
Commit: 8a32bb505a43947787932ebe14500bd74b4db973 Author: Sobak <msobaczewski@gmail.com> Wed, 25 Jun 2014 18:01:45 +0200 Parents: 1b0afc01e61a1b85fcaca36134befe3029dced84 Branches: master Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=8a32bb505a43947787932ebe14500bd74b4db973 Log: Workaround for side report from bug #67513 Bugs: https://bugs.php.net/67513 Changed paths: M include/functions.php Diff: diff --git a/include/functions.php b/include/functions.php index 81d3de8..8c18f09 100644 --- a/include/functions..php +++ b/include/functions.php @@ -1309,6 +1309,10 @@ function incoming_details_are_valid($in, $initial = 0, $logged_in = false) } require_once "{$ROOT_DIR}/include/php_versions.php"; + + // Workaround for side report from bug #67513 + $versions = array_merge($versions, ['str_size_and_int64 branch', 'Irrelevant']); + if (empty($in['php_version']) || ($initial && !in_array($in['php_version'], $versions))) { $errors[] = 'Please select a valid PHP version.'; }

« previous php.webmaster (#19348) next »