Great to see someone else doing this too. I had a play static checking using with pfff recently and found the same error: 
Fixed 5 days ago: https://github.com/ushahidi/Ushahidi_Web/commit/aadd09e95678ad2076fb4096ef34c226eef9e33f

It'd be great to get this set up on the QA server so basic errors like this don't hang round long.

On Fri, Sep 28, 2012 at 1:43 AM, Mike Dupont <jamesmikedupont@...> wrote:
HI
I started to do static checking of ushahidi
fmtyewtk.blogspot.de/2012/09/static-checking-of-php-what-dream.html

here i found an obvious error, 

 more to come.
mike

--
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org
Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Contributor FOSM, the CC-BY-SA map of the world http://fosm.org
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3
Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3



--
Robbie Mackay

Software Developer, External Projects
Ushahidi Inc
m: +64 27 576 2243
e: robbie@...
skype: robbie.mackay