From e7037cae0b1b8e2b231b6f88b627e5bcf6b3c485 Mon Sep 17 00:00:00 2001 From: "Eric Johansson (neku)" Date: Sat, 20 Dec 2014 03:43:09 +0100 Subject: removed disgusting " --- static/upload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/upload.php b/static/upload.php index ad4cdc7..43b0c31 100644 --- a/static/upload.php +++ b/static/upload.php @@ -28,8 +28,8 @@ function generate_name ($file) { if ($tries-- == 0) throw new Exception('Gave up trying to find an unused name'); //Random filename generator $newname=''; - $startNumber = ord("a"); - $endNumber = ord("z"); + $startNumber = ord('a'); + $endNumber = ord('z'); for ($i = 0; $i < 6; $i++) { $newname .= chr(mt_rand($startNumber, $endNumber)); } -- cgit v1.2.3