Completed
Push — develop ( b91125...52c290 )
by Seth
03:00
created
import.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -424,7 +424,9 @@
 block discarded – undo
424 424
             'The Canvas URL you submitted could not be parsed.<pre>' . $_REQUEST['canvas_url'] . '</pre>',
425 425
             NotificationMessage::ERROR
426 426
         );
427
-        if (php_sapi_name() != 'cli') $smarty->display('page.tpl');
427
+        if (php_sapi_name() != 'cli') {
428
+        	$smarty->display('page.tpl');
429
+        }
428 430
         exit;
429 431
     }
430 432
 }
Please login to merge, or discard this patch.
src/SyncIntoCanvas/Filter.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -22,6 +22,11 @@
 block discarded – undo
22 22
      */
23 23
     protected $exclude;
24 24
 
25
+    /**
26
+     * @param boolean $enabled
27
+     * @param string|null $include
28
+     * @param string|null $exclude
29
+     */
25 30
     public function __construct($enabled, $include, $exclude)
26 31
     {
27 32
         $this->setEnabled($enabled);
Please login to merge, or discard this patch.