@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | if ( strpos( $m[2],'aesop_' ) === 0 ) { |
| 69 | 69 | // check against the exceptions |
| 70 | 70 | if (strpos_arr($m[2],$exception_arr1)===false) { |
| 71 | - return $m[0]; |
|
| 71 | + return $m[0]; |
|
| 72 | 72 | } |
| 73 | 73 | } |
| 74 | 74 | if (strpos_arr($m[2],$exception_arr2)!==false) { |
@@ -80,9 +80,9 @@ discard block |
||
| 80 | 80 | |
| 81 | 81 | /* a helper function */ |
| 82 | 82 | function strpos_arr($haystack, $needle) { |
| 83 | - if(!is_array($needle)) $needle = array($needle); |
|
| 84 | - foreach($needle as $what) { |
|
| 85 | - if(($pos = strpos($haystack, $what))!==false) return $pos; |
|
| 86 | - } |
|
| 87 | - return false; |
|
| 83 | + if(!is_array($needle)) $needle = array($needle); |
|
| 84 | + foreach($needle as $what) { |
|
| 85 | + if(($pos = strpos($haystack, $what))!==false) return $pos; |
|
| 86 | + } |
|
| 87 | + return false; |
|
| 88 | 88 | } |
| 89 | 89 | \ No newline at end of file |