[Vtigercrm-developers] [PATCH] PearDatabase.php sanity check in Move()

Jorge Torres jorge.torres.maldonado at gmail.com
Thu May 10 17:31:24 PDT 2007


THis one I like, thank you very much

On 5/10/07, Enrico Weigelt <weigelt at metux.de> wrote:
>
>
> Hi folks,
>
> as we sometimes get some errors like:
>
> # Fatal error: Call to a member function Move() on a non-object
> # in .../include/database/PearDatabase.php on line 443
>
> Obviously sometimes the query_result() method is called with an
> non-existing result object.
>
> This patch adds an check which throws an exception on missing
> result object, so we can easily track it down.
>
>
> cu
> --
> ---------------------------------------------------------------------
> Enrico Weigelt    ==   metux IT service
>
>   phone:     +49 36207 519931         www:       http://www.metux.de/
>   fax:       +49 36207 519932         email:     contact at metux.de
>   cellphone: +49 174 7066481
> ---------------------------------------------------------------------
> -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
> ---------------------------------------------------------------------
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070510/152bcf4f/attachment-0003.html 


More information about the vtigercrm-developers mailing list