diff options
| author | Techan <kontakt@xn--tchan-j0a.org.pl> | 2014-03-31 20:14:21 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-06-20 23:06:26 +0200 |
| commit | 8b7dd1accac71242c5d5a6e22792faa0041e538c (patch) | |
| tree | 0e594969760514cf5271fc830f4261ebe457aff9 /post.php | |
| parent | 81b0612d5699f504440eb477fd9952bf4cb49525 (diff) | |
Fix error in conditional operators priority
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -330,7 +330,7 @@ if (isset($_POST['delete'])) { // Check for a file if ($post['op'] && !isset($post['no_longer_require_an_image_for_op'])) { - if (!isset($_FILES['file']['tmp_name']) || $_FILES['file']['tmp_name'] == '' && $config['force_image_op']) + if ((!isset($_FILES['file']['tmp_name']) || $_FILES['file']['tmp_name'] == '') && $config['force_image_op']) error($config['error']['noimage']); } |
