Skip to content

Commit fb8d72c

Browse files
committed
2017-12-21 AC: Merges branch hotfix-2.1.0-6.
2 parents 03d1ac2 + be417dc commit fb8d72c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

sef/modsimpleemailform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,6 +1299,6 @@ public function render()
12991299
*/
13001300
public function getFormRendering()
13011301
{
1302-
return TRUE;
1302+
return true;
13031303
}
13041304
}

tmpl/default.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
if (!$form->getFormRendering() && file_exists($defaultCustomFile)) {
99
$view = require_once "$defaultCustomFile";
10-
}
11-
elseif (!$form->getFormRendering() && !file_exists($defaultCustomFile)) {
10+
} elseif (!$form->getFormRendering() && !file_exists($defaultCustomFile)) {
1211
$view = "Custom default view file /tmpl/$defaultCustomFile not found.";
1312
}
1413

0 commit comments

Comments
 (0)