Passed
Pull Request — master (#11)
by Michael
11:08
created
language/english/common.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
 \define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_UPLOAD_PATH_DSC', 'Path for uploading images');
176 176
 
177 177
 \define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_FILE_SIZE', 'Image File Size (in Bytes)');
178
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_FILE_SIZE_DSC','The maximum file size of the image file (in Bytes)');
178
+\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_FILE_SIZE_DSC', 'The maximum file size of the image file (in Bytes)');
179 179
 
180 180
 
181 181
 //Module Stats
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
                 //get data for JSON-LD
92 92
                 if ($helper->getConfig('generate_jsonld')) {
93
-                    $content[] =  [
93
+                    $content[] = [
94 94
                         'title'  => $obj->getVar('contents_title'),
95 95
                         'answer' => $obj->getVar('contents_contents'),
96 96
                     ];
@@ -133,11 +133,11 @@  discard block
 block discarded – undo
133 133
         foreach ($objects['list'] as $object) {
134 134
             // only list categories and/or FAQs if user has rights
135 135
             if (false !== $permHelper->checkPermission('viewcat', $object->getVar('category_id'))) {
136
-                $category    = [
136
+                $category = [
137 137
                     'id'   => $object->getVar('category_id'),
138 138
                     'name' => $object->getVar('category_title'),
139 139
                 ];
140
-                $bodyWords   .= ' ' . $object->getVar('category_title');
140
+                $bodyWords .= ' ' . $object->getVar('category_title');
141 141
                 $contentsObj = $contentsHandler->getPublished($object->getVar('category_id'));
142 142
                 if ($contentsObj['count']) {
143 143
                     $category['questions'] = [];
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
                             'link'  => $content->getVar('contents_id'),
148 148
                             'title' => $content->getVar('contents_title'),
149 149
                         ];
150
-                        $bodyWords               .= ' ' . $content->getVar('contents_title');
150
+                        $bodyWords .= ' ' . $content->getVar('contents_title');
151 151
                     }
152 152
                 }
153 153
                 $GLOBALS['xoopsTpl']->append_by_ref('categories', $category);
Please login to merge, or discard this patch.