found yet another typo, so created a typo finder

This commit is contained in:
Mike Macgirvin 2010-09-28 16:10:44 -07:00
parent 27946c102d
commit dd3f754e23
2 changed files with 14 additions and 1 deletions

View File

@ -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(

13
test/typo.php Normal file
View File

@ -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);