aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/dfrn_confirm.php2
-rw-r--r--test/typo.php13
2 files changed, 14 insertions, 1 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php
index b8dc2d703..584358507 100644
--- a/mod/dfrn_confirm.php
+++ b/mod/dfrn_confirm.php
@@ -165,7 +165,7 @@ function dfrn_confirm_post(&$a) {
if((count($r)) && ($r[0]['notify-flags'] & NOTIFY_CONFIRM)) {
$tpl = (($new_relation == $REL_BUD)
- ? load_view_file('view/friend_complete_eml.tpl');
+ ? load_view_file('view/friend_complete_eml.tpl')
: load_view_file('view/intro_complete_eml.tpl'));
$email_tpl = replace_macros($tpl, array(
diff --git a/test/typo.php b/test/typo.php
new file mode 100644
index 000000000..c8b94be21
--- /dev/null
+++ b/test/typo.php
@@ -0,0 +1,13 @@
+<?php
+ include 'boot.php';
+
+ $a = new App();
+
+ $files = glob('mod/*.php');
+ foreach($files as $file)
+ include_once($file);
+
+
+ $files = glob('include/*.php');
+ foreach($files as $file)
+ include_once($file);