Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[FIXED V2] Models error 22 Mar 2012 21:22 #1710

  • M4d3L
  • M4d3L's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 45
  • Thank you received: 7
I found a small error near comment "//Convert data from a stdClass" in models class. (in save method)


use
if (is_object($data) && get_class($data) == 'stdClass')
			$data = JArrayHelper::fromObject($data);

else of
if (get_class($data) == 'stdClass')
			$data = JArrayHelper::fromObject($data);

Because in the case $data is an array, it generate an silent error because of the redirection.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.346 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started