This was found in 5.2, but it remains present in CVS head.

During the enumeration of profiles at or around line 395 of install.php, there is a check for the value of _POST['profile']. However, the user may not have *supplied* that post variable. No harm occurs, but a PHP Notice appears in the apache error log. Would it be appropriate to test for presence of the variable in the dictionary first?

Actually, I notice that this is a more general pattern -- there are many "Undefined variable" notices appearing in the apache log. Should these be considered a bug, or are they simply the style convention for PHP?

Comments

asimmonds’s picture

Status: Active » Closed (duplicate)

Marking this as a duplicate of http://drupal.org/node/205087 as that has a patch.

If that issue is fixed for HEAD, then it may be back ported to 5.x