[TYPO3-dev] Update database when saving plugin flexform configuration in BE?

Mathias Schreiber [wmdb >] mathias.schreiber at wmdb.de
Thu Sep 10 10:03:56 CEST 2009


Dmitry Dulepov schrieb:
> Memory leak here: you did not free the recordset. Also there is no need for the loop: you have only one row, which you could access as with a single call to sql_fetch_assoc().
> 
> If I were you I would simply do this:

Untested, but normally all data should be within $field so there is no 
need to query at all.

cheers
Mathias

-- 
TYPO3 certified interogator
T3DD09 Entertainer




More information about the TYPO3-dev mailing list