Fix For Phoogle
Nov 11, 2008 CakePHP, Code, General, Phoogle, Web Dev
This is for the error: Fatal error: Cannot use string offset as an array in /includes/phoogle.php on line 137 , which just started popping up today.I haven’t had time to update the source files yet, but Michael Clark sent along the following fix that seems to work. I’ll post an updated php file ASAP
it’s a minor patch -
| PHP | | copy code | | ? |
| 1 | |
| 2 | //add as the new first line of the characterData function |
| 3 | if(!trim($data)) return; |
| 4 |

