summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTechan <kontakt@xn--tchan-j0a.org.pl>2014-03-31 20:14:21 +0200
committerczaks <marcin@6irc.net>2014-06-20 23:06:26 +0200
commit8b7dd1accac71242c5d5a6e22792faa0041e538c (patch)
tree0e594969760514cf5271fc830f4261ebe457aff9
parent81b0612d5699f504440eb477fd9952bf4cb49525 (diff)
Fix error in conditional operators priority
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.php b/post.php
index 91abe7e6..dbc59345 100644
--- a/post.php
+++ b/post.php
@@ -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']);
}