[TYPO3-core] RFC: is_array check extension manager (with private gossip)

Wolfgang Klinger wolfgang at stufenlos.net
Wed Aug 15 16:37:02 CEST 2007


On Aug 15, 2007, at 7:25 AM, Wolfgang Klinger wrote:
> as this bugs me every now and then
> here's a patch that adds some is_array checks before
> foreach (should be common practice ;-))

I see you guys take it very serious... fine, fine ;-)

The following is slightly off-topic ;-)

Sorry that I didn't take part in the discussion, but I was
at a herbs festival to buy some plantlets for our own
herbs garden (end of summer/autumn is the best time of
the year to plant herbs - just in case you didn't know!)

Today we have a holiday here in Austria, so I have some time
for private gossip ;-)
So if you're interested flipping through some photographs
of our little farm and our very nice dog go to:

We have 12 sheeps now and a Border Collie to handle them properly.
We had four nativities (6 lambs) here lately and the lambs grow so
fast every day... really nice

You can see them in action shortly after they were born
(really an amateur video *hehe*) here:

Committed the following to trunk now
(I thought it's a good idea to add (trivial) in front,
so anybody who's reading the Changelog file can skip over such
entries faster):

Index: ChangeLog
 > 2007-08-15  Wolfgang Klinger  <wk at plan2.net>
 >       * (trivial) Added is_array checks in extension manager code
Index: typo3/mod/tools/em/class.em_index.php
 >               if (isset($conf['constraints']['depends']) &&  
is_array($conf['constraints']['depends'])) {
 >               }
 >               if (isset($conf['constraints']['conflicts']) &&  
is_array($conf['constraints']['conflicts'])) {
 >               }
<               if(is_array($conf['constraints']['suggests'])) {
 >               if(isset($conf['constraints']['suggests']) &&  
is_array($conf['constraints']['suggests'])) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070815/8ed30b9f/attachment.pgp 

More information about the TYPO3-team-core mailing list