Bug #4572

Invalid argument supplied for foreach()

Added by Georg Ringer almost 12 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Category:
scheduler
Target version:
-
Start date:
2009-09-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

i did something strange - after installing the ext - it worked again but IMO there should be a check in

typo3/sysext/scheduler/mod1/index.php line 1228

foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'] as $class => $registrationInformation) {

}

if this is really an array

patch is attached


Files

scheduler-invalidargument.patch (1.77 KB) scheduler-invalidargument.patch Georg Ringer, 2009-09-11 11:38
#1

Updated by Francois Suter almost 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Francois Suter
  • % Done changed from 0 to 100

Better safe than sorry ;-)

Patch applied in r1216

#2

Updated by Francois Suter about 9 years ago

  • Status changed from Resolved to Closed
#3

Updated by Michael Stucki over 7 years ago

  • Category set to scheduler
#4

Updated by Michael Stucki over 7 years ago

  • Project changed from 739 to TYPO3 Core
  • Category changed from scheduler to scheduler

Also available in: Atom PDF