diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-27 14:25:51 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-27 14:25:51 +0200 |
| commit | b242d67cba3e1558e241eb12a1a9c1cbfff4b68a (patch) | |
| tree | 4e3773562bf9d6b12af9533ed12f5795cae9b675 /static | |
| parent | 9143c5e0cfc2640195cd9fe85b71c8e95d687126 (diff) | |
| parent | c1f91c47949e3771996ff1e94c14c9c3ba8e33be (diff) | |
Merge branch 'php-strict-comparison'
OK ewhal@
Diffstat (limited to 'static')
| -rw-r--r-- | static/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/upload.php b/static/upload.php index c501acd..9703ede 100644 --- a/static/upload.php +++ b/static/upload.php @@ -66,7 +66,7 @@ function generate_name($file) do { // Iterate until we reach the maximum number of retries - if ($tries-- == 0) { + if ($tries-- === 0) { throw new Exception('Gave up trying to find an unused name', 500); } |
