1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-14 18:55:56 +02:00

Fix issue processwire/processwire-issues#338 where WireTempDir had incorrect order of arguments to explode function

This commit is contained in:
Ryan Cramer
2017-08-11 10:45:06 -04:00
parent a216b561d1
commit d000117e4b

View File

@@ -89,7 +89,7 @@ class WireTempDir extends Wire {
$this->wire($pass);
$len = mt_rand(10, 30);
$name = microtime() . '.' . $pass->randomBase64String($len, true);
$a = explode($name, '.');
$a = explode('.', $name);
shuffle($a);
$name = $prefix . implode('O', $a);
$this->createdName = $name;