Community
Participate
Working Groups
As part of solving bug 231891 I've created a class to handle the magic of getting the image details out of the DB, and inserting the correct values if it can. This should probably go in classes/membership. -M.
Created attachment 170822 [details] New membership class
+1
+1 Looks Good Matt
A couple of things: 1. I'd update the copyright header 2. I'd sanitize $_size in your function to avoid SQL injection. Actually, I believe App has a sqlSanitize function which is a great catch-all.
The content of attachment 170822 [details] has been deleted by Eclipse Webmaster <webmaster@eclipse.org> who provided the following reason: obsolete The token used to delete this attachment was generated at 2010-06-02 15:26:32 EDT.
Created attachment 170868 [details] New management class v2 Ok, I've added the sanitize and updated the copyright notice. -M.
Just doing some triage -- was this committed?
Yes. -M.