Browse Source

found yet another typo, so created a typo finder

pull/1/head
Mike Macgirvin 10 years ago
parent
commit
dd3f754e23
2 changed files with 14 additions and 1 deletions
  1. +1
    -1
      mod/dfrn_confirm.php
  2. +13
    -0
      test/typo.php

+ 1
- 1
mod/dfrn_confirm.php 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
- 0
test/typo.php 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);

Loading…
Cancel
Save