diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-28 16:10:44 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-28 16:10:44 -0700 |
commit | dd3f754e235e286207ee638e75c601ca1e809936 (patch) | |
tree | 9c5cc217bbd7674dd2ae58aed6bfc2329a729dac | |
parent | 27946c102d9542bd0a36ccb0f3d167e0f18645c6 (diff) | |
download | volse-hubzilla-dd3f754e235e286207ee638e75c601ca1e809936.tar.gz volse-hubzilla-dd3f754e235e286207ee638e75c601ca1e809936.tar.bz2 volse-hubzilla-dd3f754e235e286207ee638e75c601ca1e809936.zip |
found yet another typo, so created a typo finder
-rw-r--r-- | mod/dfrn_confirm.php | 2 | ||||
-rw-r--r-- | test/typo.php | 13 |
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); |