]> git.mxchange.org Git - friendica.git/commitdiff
found yet another typo, so created a typo finder
authorMike Macgirvin <mike@macgirvin.com>
Tue, 28 Sep 2010 23:10:44 +0000 (16:10 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Tue, 28 Sep 2010 23:10:44 +0000 (16:10 -0700)
mod/dfrn_confirm.php
test/typo.php [new file with mode: 0644]

index b8dc2d703e7fe51fb37b9dbac2d554f259ff0ea2..5843585074c6526a74354dfbc84c40d0aea0de12 100644 (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(
diff --git a/test/typo.php b/test/typo.php
new file mode 100644 (file)
index 0000000..c8b94be
--- /dev/null
@@ -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);