Completed
Push — master ( 9d10c2...bf46e5 )
by Lars
05:14
created
src/Intraface/modules/cms/Controller/Navigation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $webshop_module = $this->getKernel()->module('cms');
16 16
 
17
-        $this->document->setTitle('Navigation for ' . $this->getSite()->get('name'));
17
+        $this->document->setTitle('Navigation for '.$this->getSite()->get('name'));
18 18
 
19 19
         $data['categories'] = $this->getNavigationGateway()->findBySite($this->getSite());
20 20
 
Please login to merge, or discard this patch.
src/Intraface/modules/cms/HTML/Parser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
                 $element['extra_style'] = ' style="'.$element['extra_style'].'"';
40 40
             }
41 41
 
42
-            $function =  'parse'.$element['type'] . 'Element';
42
+            $function = 'parse'.$element['type'].'Element';
43 43
             $output = $this->$function($element);
44 44
 
45 45
             $display .= '<div id="element-'.$element['id'].'"'.$element['extra_class'].$element['extra_style'].'>';
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
             } else {
58 58
                 $display .= '       <li><a href="'.$_SERVER['PHP_SELF'].'?action=move&amp;element_id='.$element['id'].'&amp;id='.$element['section_id'].'">'.$this->translation->get('move').'</a></li>';
59 59
             }
60
-            $display .= '       <li><a class="confirm" href="' . $_SERVER['PHP_SELF'] . '?delete='.$element['id'].'">'.$this->translation->get('delete').'</a></li>';
60
+            $display .= '       <li><a class="confirm" href="'.$_SERVER['PHP_SELF'].'?delete='.$element['id'].'">'.$this->translation->get('delete').'</a></li>';
61 61
             $display .= '   </ul>';
62
-            $display .= '<div>' .           $output . '</div>';
62
+            $display .= '<div>'.$output.'</div>';
63 63
             $display .= '</div>';
64 64
         }
65 65
         return $display;
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/SubscribersGateway.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     function getAllUnsubscribersForList($list)
18 18
     {
19
-        $this->dbquery = new Intraface_DBQuery($list->kernel, "newsletter_subscriber", "newsletter_subscriber.list_id=". $list->get('id') . " AND newsletter_subscriber.intranet_id = " . $list->kernel->intranet->get('id'));
19
+        $this->dbquery = new Intraface_DBQuery($list->kernel, "newsletter_subscriber", "newsletter_subscriber.list_id=".$list->get('id')." AND newsletter_subscriber.intranet_id = ".$list->kernel->intranet->get('id'));
20 20
         $this->dbquery->setJoin("LEFT", "contact", "newsletter_subscriber.contact_id = contact.id AND contact.intranet_id = ".$list->kernel->intranet->get("id"), '');
21 21
         $this->dbquery->setJoin("LEFT", "address", "address.belong_to_id = contact.id AND address.active = 1 AND address.type = 3", '');
22 22
         $this->dbquery->setFilter('optin', 1);
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     function getByContactId($list, $id)
32 32
     {
33
-        $this->dbquery = new Intraface_DBQuery($list->kernel, "newsletter_subscriber", "newsletter_subscriber.list_id=". $list->get('id') . " AND newsletter_subscriber.intranet_id = " . $list->kernel->intranet->get('id'));
33
+        $this->dbquery = new Intraface_DBQuery($list->kernel, "newsletter_subscriber", "newsletter_subscriber.list_id=".$list->get('id')." AND newsletter_subscriber.intranet_id = ".$list->kernel->intranet->get('id'));
34 34
         $this->dbquery->setFilter('contact_id', $id);
35 35
         $this->getDBQuery()->setCondition('newsletter_subscriber.contact_id = '.$this->getDBQuery()->getFilter('contact_id'));
36 36
 
@@ -41,14 +41,14 @@  discard block
 block discarded – undo
41 41
     {
42 42
         // @todo - make sure to delete old ones
43 43
         $db = MDB2::singleton();
44
-        $db->query('UPDATE newsletter_subscriber SET contact_id = ' . $new_id . ' WHERE contact_id = ' . $old_id);
44
+        $db->query('UPDATE newsletter_subscriber SET contact_id = '.$new_id.' WHERE contact_id = '.$old_id);
45 45
     }
46 46
 
47 47
     public function findCountByContactId($contact_id)
48 48
     {
49 49
         $sql = "SELECT id
50 50
                 FROM newsletter_subscriber
51
-                    WHERE intranet_id = " . $this->kernel->intranet->get("id") . "
51
+                    WHERE intranet_id = " . $this->kernel->intranet->get("id")."
52 52
                         AND contact_id = ".(int)$contact_id."
53 53
               AND active = 1";
54 54
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         $code = strip_tags($code);
66 66
 
67 67
         $db = new DB_Sql;
68
-        $db->query("SELECT id, list_id FROM newsletter_subscriber WHERE code = '".$code."' AND intranet_id = " . $this->kernel->intranet->get('id')." and active = 1");
68
+        $db->query("SELECT id, list_id FROM newsletter_subscriber WHERE code = '".$code."' AND intranet_id = ".$this->kernel->intranet->get('id')." and active = 1");
69 69
         if (!$db->nextRecord()) {
70 70
             return false;
71 71
         }
@@ -84,8 +84,8 @@  discard block
 block discarded – undo
84 84
                     LEFT JOIN address
85 85
                         ON address.belong_to_id = contact.id
86 86
                     WHERE address.email = '".$email."'
87
-                        AND newsletter_subscriber.list_id = " . $list->get('id') . "
88
-                        AND newsletter_subscriber.intranet_id = " . $this->kernel->intranet->get('id') . "
87
+                        AND newsletter_subscriber.list_id = " . $list->get('id')."
88
+                        AND newsletter_subscriber.intranet_id = " . $this->kernel->intranet->get('id')."
89 89
                         AND newsletter_subscriber.active = 1
90 90
                         AND contact.active = 1");
91 91
         if (!$db->nextRecord()) {
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/ListGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     function findByContactId($contact_id)
17 17
     {
18 18
         $db = new DB_Sql;
19
-        $db->query('SELECT * FROM newsletter_subscriber WHERE contact_id = ' . $contact_id);
19
+        $db->query('SELECT * FROM newsletter_subscriber WHERE contact_id = '.$contact_id);
20 20
         $lists = array();
21 21
         while ($db->nextRecord()) {
22 22
             $lists[$db->f('list_id')]['list'] = $this->findById($db->f('list_id'));
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Observer/OptinMail.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         $data = array(
72 72
             'subject' => 'Bekræft tilmelding',
73 73
             'body' =>
74
-                $this->list->get('subscribe_message') . "\n\n" .
74
+                $this->list->get('subscribe_message')."\n\n".
75 75
                 "\n\nMed venlig hilsen\n".$this->list->get('sender_name'),
76 76
             'contact_id' => $subscriber->get('contact_id'),
77 77
             'from_email' => $this->list->get('reply_email'),
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
         if ($email->queue()) {
88 88
             $db = new DB_Sql;
89
-            $db->query("UPDATE newsletter_subscriber SET date_optin_email_sent = NOW() WHERE id = " . $subscriber->get('id'));
89
+            $db->query("UPDATE newsletter_subscriber SET date_optin_email_sent = NOW() WHERE id = ".$subscriber->get('id'));
90 90
             return true;
91 91
         }
92 92
 
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/NewsletterSubscriber.php 1 patch
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             return $this->dbquery;
53 53
         }
54 54
         // optin = 1 should not be set here
55
-        $this->dbquery = new Intraface_DBQuery($this->list->kernel, "newsletter_subscriber", "newsletter_subscriber.list_id=". $this->list->get("id") . " AND newsletter_subscriber.intranet_id = " . $this->list->kernel->intranet->get('id'));
55
+        $this->dbquery = new Intraface_DBQuery($this->list->kernel, "newsletter_subscriber", "newsletter_subscriber.list_id=".$this->list->get("id")." AND newsletter_subscriber.intranet_id = ".$this->list->kernel->intranet->get('id'));
56 56
         $this->dbquery->setJoin("LEFT", "contact", "newsletter_subscriber.contact_id = contact.id AND contact.intranet_id = ".$this->list->kernel->intranet->get("id"), '');
57 57
         $this->dbquery->setJoin("LEFT", "address", "address.belong_to_id = contact.id AND address.active = 1 AND address.type = 3", '');
58 58
         $this->dbquery->useErrorObject($this->error);
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     private function load()
136 136
     {
137 137
         $db = new DB_Sql;
138
-        $db->query("SELECT * FROM newsletter_subscriber WHERE id = " . $this->id." and active = 1");
138
+        $db->query("SELECT * FROM newsletter_subscriber WHERE id = ".$this->id." and active = 1");
139 139
         if (!$db->nextRecord()) {
140 140
 
141 141
             $this->id = 0;
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     public function delete()
160 160
     {
161 161
         $db = new DB_Sql;
162
-        $db->query('UPDATE newsletter_subscriber SET active = 0 WHERE id = ' . $this->id);
162
+        $db->query('UPDATE newsletter_subscriber SET active = 0 WHERE id = '.$this->id);
163 163
         return true;
164 164
     }
165 165
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     {
186 186
         $db = new DB_sql;
187 187
 
188
-        $db->query("SELECT id FROM newsletter_subscriber WHERE contact_id = '".$contact->getId()."' AND list_id = " . $this->list->get("id") . " AND intranet_id = ".$this->list->kernel->intranet->get('id')." AND active = 1");
188
+        $db->query("SELECT id FROM newsletter_subscriber WHERE contact_id = '".$contact->getId()."' AND list_id = ".$this->list->get("id")." AND intranet_id = ".$this->list->kernel->intranet->get('id')." AND active = 1");
189 189
         if ($db->nextRecord()) {
190 190
             return $db->f('id');
191 191
         }
@@ -193,10 +193,10 @@  discard block
 block discarded – undo
193 193
         // Spørgsmålet er om vedkommende bør få en e-mail, hvor man kan acceptere?
194 194
         $db->query("INSERT INTO newsletter_subscriber SET
195 195
                     contact_id = '".$contact->getId()."',
196
-                    list_id = " . $this->list->get("id") . ",
196
+                    list_id = " . $this->list->get("id").",
197 197
                     date_submitted=NOW(),
198 198
                     optin = 1,
199
-                    code = '".md5($this->list->get("id") . $this->list->kernel->intranet->get('id') . date('Y-m-d H:i:s') . $contact->getId())."',
199
+                    code = '".md5($this->list->get("id").$this->list->kernel->intranet->get('id').date('Y-m-d H:i:s').$contact->getId())."',
200 200
                     intranet_id = ".$this->list->kernel->intranet->get('id'));
201 201
 
202 202
         return $db->insertedId();
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
         $input = array_map('strip_tags', $input);
216 216
 
217 217
         $validator = new Intraface_Validator($this->error);
218
-        $validator->isEmail($input['email'], $input['email'] . ' er ikke en gyldig e-mail');
218
+        $validator->isEmail($input['email'], $input['email'].' er ikke en gyldig e-mail');
219 219
 
220 220
         if (empty($input['name'])) {
221 221
             $input['name'] = $input['email'];
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
                     date_submitted = NOW(),
284 284
                     ip_submitted = '".$input['ip']."'
285 285
                 WHERE id = ".$this->id."
286
-                    AND list_id = " . $this->list->get("id") . "
286
+                    AND list_id = " . $this->list->get("id")."
287 287
                     AND intranet_id = " . $this->list->kernel->intranet->get('id'));
288 288
             //code =  '" . md5($input['email'] . date('Y-m-d H:i:s') . $input['ip'])."'
289 289
 
@@ -307,10 +307,10 @@  discard block
 block discarded – undo
307 307
                     contact_id = '".$contact->get('id')."',
308 308
                     email = '".$input['email']."',
309 309
                     name='".$input['name']."',
310
-                    list_id = " . $this->list->get("id") . ",
310
+                    list_id = " . $this->list->get("id").",
311 311
                     ip_submitted='".$input['ip']."',
312 312
                     date_submitted=NOW(),
313
-                    code= '" . md5($input['email'] . date('Y-m-d H:i:s') . $input['ip'])."',
313
+                    code= '" . md5($input['email'].date('Y-m-d H:i:s').$input['ip'])."',
314 314
                     intranet_id = ".$this->list->kernel->intranet->get('id'));
315 315
 
316 316
         }
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
             return false;
347 347
         }
348 348
         $db = new DB_Sql;
349
-        $db->query("SELECT * FROM newsletter_subscriber WHERE id = " . $this->id." and active = 1");
349
+        $db->query("SELECT * FROM newsletter_subscriber WHERE id = ".$this->id." and active = 1");
350 350
         if (!$db->nextRecord()) {
351 351
             return false;
352 352
         }
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
         $this->load();
385 385
 
386 386
         $db = new DB_Sql;
387
-        $db->query("UPDATE newsletter_subscriber SET active = 0, date_unsubscribe = '".date('Y-m-d H:i:s')."' WHERE id=".$this->id." AND list_id = " . $this->list->get("id") . " AND intranet_id = " . $this->list->kernel->intranet->get('id'));
387
+        $db->query("UPDATE newsletter_subscriber SET active = 0, date_unsubscribe = '".date('Y-m-d H:i:s')."' WHERE id=".$this->id." AND list_id = ".$this->list->get("id")." AND intranet_id = ".$this->list->kernel->intranet->get('id'));
388 388
         return true;
389 389
     }
390 390
 
@@ -402,16 +402,16 @@  discard block
 block discarded – undo
402 402
         // optin really wants to optin, so we will not make that a part of the select query
403 403
         // and we will set it in the update query
404 404
         $db = new DB_Sql;
405
-        $db->query("SELECT id, ip_submitted FROM newsletter_subscriber WHERE code = '".$code."' AND list_id = " . $this->list->get('id'));
405
+        $db->query("SELECT id, ip_submitted FROM newsletter_subscriber WHERE code = '".$code."' AND list_id = ".$this->list->get('id'));
406 406
         if (!$db->nextRecord()) {
407 407
             return false;
408 408
         }
409 409
 
410
-        $db->query("UPDATE newsletter_subscriber SET optin = 1, ip_optin = '".$ip."', date_optin = NOW(), active = 1 WHERE code = '" . $code . "' AND list_id = " . $this->list->get('id'));
410
+        $db->query("UPDATE newsletter_subscriber SET optin = 1, ip_optin = '".$ip."', date_optin = NOW(), active = 1 WHERE code = '".$code."' AND list_id = ".$this->list->get('id'));
411 411
 
412 412
         // makes sure that the submitted ip is also set - not really a part of this method.
413 413
         if ($db->f('ip_submitted')) {
414
-            $db->query("UPDATE newsletter_subscriber SET ip_submitted = '".$ip."' WHERE id = " . $db->f("id"));
414
+            $db->query("UPDATE newsletter_subscriber SET ip_submitted = '".$ip."' WHERE id = ".$db->f("id"));
415 415
         }
416 416
         return true;
417 417
     }
@@ -456,8 +456,8 @@  discard block
 block discarded – undo
456 456
         $data = array(
457 457
                 'subject' => $subscribe_subject,
458 458
                 'body' =>
459
-                    $this->list->get('subscribe_message') . "\n\n" .
460
-                    $this->getLoginUrl($contact) .
459
+                    $this->list->get('subscribe_message')."\n\n".
460
+                    $this->getLoginUrl($contact).
461 461
                     "\n\n".$this->list->get('sender_name'),
462 462
                 'contact_id' => $this->get('contact_id'),
463 463
                 'from_email' => $this->list->get('reply_email'),
@@ -467,16 +467,16 @@  discard block
 block discarded – undo
467 467
             );
468 468
 
469 469
         if (!$email->save($data)) {
470
-            $this->error->set('could not send the e-mail' . implode(',', $email->error->messages));
470
+            $this->error->set('could not send the e-mail'.implode(',', $email->error->messages));
471 471
             return false;
472 472
         }
473 473
 
474 474
         if ($email->queue()) {
475 475
             $db = new DB_Sql;
476
-            $db->query("UPDATE newsletter_subscriber SET date_optin_email_sent = NOW() WHERE id = " . $this->id);
476
+            $db->query("UPDATE newsletter_subscriber SET date_optin_email_sent = NOW() WHERE id = ".$this->id);
477 477
             return true;
478 478
         }
479
-        $this->error->set('could not send the e-mail' . implode(',', $email->error->message));
479
+        $this->error->set('could not send the e-mail'.implode(',', $email->error->message));
480 480
         return false;
481 481
     }
482 482
 
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
     {
489 489
         if ($this->sendOptInEmail()) {
490 490
             $db = new DB_Sql;
491
-            $db->query("UPDATE newsletter_subscriber SET resend_optin_email_count = resend_optin_email_count + 1 WHERE id = " . $this->id);
491
+            $db->query("UPDATE newsletter_subscriber SET resend_optin_email_count = resend_optin_email_count + 1 WHERE id = ".$this->id);
492 492
             return true;
493 493
         }
494 494
     }
@@ -496,9 +496,9 @@  discard block
 block discarded – undo
496 496
     private function getLoginUrl($contact)
497 497
     {
498 498
         if (!$link = $this->list->get('optin_link')) {
499
-            return $contact->getLoginUrl() . '&optin=' . $this->get('code');
499
+            return $contact->getLoginUrl().'&optin='.$this->get('code');
500 500
         }
501
-        return $link . '?optin=' . $this->get('code');
501
+        return $link.'?optin='.$this->get('code');
502 502
     }
503 503
 
504 504
     /**
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/NewsletterList.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         $db  = new DB_Sql;
53 53
         $db2 = new DB_Sql;
54
-        $db->query("SELECT * FROM newsletter_list WHERE active = 1 AND id = " . $this->id . " AND intranet_id = " . $this->kernel->intranet->get('id'));
54
+        $db->query("SELECT * FROM newsletter_list WHERE active = 1 AND id = ".$this->id." AND intranet_id = ".$this->kernel->intranet->get('id'));
55 55
         if (!$db->nextRecord()) {
56 56
             return false;
57 57
         }
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
         $db2->query("SELECT *
76 76
             FROM newsletter_subscriber
77 77
             INNER JOIN contact ON newsletter_subscriber.contact_id = contact.id
78
-            WHERE list_id = " . $db->f('id') . "
79
-                AND newsletter_subscriber.intranet_id = " . $this->kernel->intranet->get('id') . "
78
+            WHERE list_id = " . $db->f('id')."
79
+                AND newsletter_subscriber.intranet_id = " . $this->kernel->intranet->get('id')."
80 80
                 AND optin = 1
81 81
                 AND contact.active = 1
82 82
                 AND newsletter_subscriber.active = 1");
@@ -166,9 +166,9 @@  discard block
 block discarded – undo
166 166
             // subscribe_option_key = ".$var['subscribe_option_key'].",
167 167
 
168 168
         if ($this->id > 0) {
169
-            $db->query("UPDATE newsletter_list SET ".$sql.", date_changed = NOW() WHERE id = " . $this->id);
169
+            $db->query("UPDATE newsletter_list SET ".$sql.", date_changed = NOW() WHERE id = ".$this->id);
170 170
         } else {
171
-            $db->query("INSERT INTO newsletter_list SET ".$sql.", intranet_id = " . $this->kernel->intranet->get('id').", date_created = NOW(), date_changed = NOW()");
171
+            $db->query("INSERT INTO newsletter_list SET ".$sql.", intranet_id = ".$this->kernel->intranet->get('id').", date_created = NOW(), date_changed = NOW()");
172 172
             $this->id = $db->insertedId();
173 173
         }
174 174
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     function delete()
186 186
     {
187 187
         $db = new DB_Sql;
188
-        $db->query("UPDATE newsletter_list SET active = 0 WHERE id = " . $this->id . " AND intranet_id = " . $this->kernel->intranet->get('id'));
188
+        $db->query("UPDATE newsletter_list SET active = 0 WHERE id = ".$this->id." AND intranet_id = ".$this->kernel->intranet->get('id'));
189 189
         return true;
190 190
     }
191 191
 
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     function doesListExist()
198 198
     {
199 199
         $db = new DB_Sql;
200
-        $db->query("SELECT id FROM newsletter_list WHERE id = " . $this->id . " AND intranet_id = " . $this->kernel->intranet->get('id'));
200
+        $db->query("SELECT id FROM newsletter_list WHERE id = ".$this->id." AND intranet_id = ".$this->kernel->intranet->get('id'));
201 201
         return ($db->numRows() > 0);
202 202
     }
203 203
 
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
         $db    = new DB_Sql;
213 213
         $db2   = new DB_Sql;
214 214
         $i     = 0;
215
-        $db->query("SELECT * FROM newsletter_list WHERE intranet_id = " . $this->kernel->intranet->get('id')." AND active = 1");
215
+        $db->query("SELECT * FROM newsletter_list WHERE intranet_id = ".$this->kernel->intranet->get('id')." AND active = 1");
216 216
         while ($db->nextRecord()) {
217 217
             $list                     = new Newsletterlist($this->kernel, $db->f('id'));
218 218
             $lists[$i]['id']          = $db->f('id');
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Controller/Letter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $module = $this->getKernel()->module("newsletter");
23 23
 
24
-        $smarty = $this->template->create(dirname(__FILE__) . '/templates/letter');
24
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/letter');
25 25
         return $smarty->render($this);
26 26
     }
27 27
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         $module = $this->getKernel()->module("newsletter");
68 68
 
69
-        $smarty = $this->template->create(dirname(__FILE__) . '/templates/letter-edit');
69
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/letter-edit');
70 70
         return $smarty->render($this);
71 71
     }
72 72
 
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Controller/Lists.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,13 +19,13 @@
 block discarded – undo
19 19
     {
20 20
         $module = $this->getKernel()->module("newsletter");
21 21
 
22
-        $smarty = $this->template->create(dirname(__FILE__) . '/templates/lists');
22
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/lists');
23 23
         return $smarty->render($this);
24 24
     }
25 25
 
26 26
     function renderHtmlCreate()
27 27
     {
28
-        $smarty = $this->template->create(dirname(__FILE__) . '/templates/list-edit');
28
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/list-edit');
29 29
         return $smarty->render($this);
30 30
     }
31 31
 
Please login to merge, or discard this patch.