[opw-web] Fix syntax error



commit e3dfc8d4dd6b3eea6fac7c80e17930a72a179cbe
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Wed May 14 22:37:58 2014 -0400

    Fix syntax error
    
    Fix a syntax error in the last commit.

 modules/mod_attachment.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/mod_attachment.php b/modules/mod_attachment.php
index f7d6a4d..edfbc6a 100644
--- a/modules/mod_attachment.php
+++ b/modules/mod_attachment.php
@@ -115,7 +115,7 @@ if ($action == 'add') {
 
         if ($error_message === '') {
             if ($_FILES['file']['error'] == UPLOAD_ERR_INI_SIZE ||
-                $_FILES['file']['error'] == UPLOAD_ERR_FORM_SIZE) {
+                $_FILES['file']['error'] == UPLOAD_ERR_FORM_SIZE)
                 $error_message = $lang->get('upload_too_large');
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]