From dd3f754e235e286207ee638e75c601ca1e809936 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Tue, 28 Sep 2010 16:10:44 -0700 Subject: found yet another typo, so created a typo finder --- mod/dfrn_confirm.php | 2 +- test/typo.php | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 test/typo.php 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 @@ +