Working on documentation for l10n_update.check.inc I found code which will only work in PHP 5. We could or rewrite the code adding '&' to the parameters or add a minimum php definition in the l10n_update.info file. The attached patch does this.

Function definition:

function l10n_update_source_check_download($source) {

Function call:

    if (l10n_update_source_check_download($check)) {
      $remote = $check;
    }

More object used by reference in: l10n_update_source_check_file(), l10n_update_source_update(), l10n_update_source_import(), l10n_update_source_history(). And perhaps many more.

CommentFileSizeAuthor
l10n_update-php5-0.patch568 bytesSutharsan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sutharsan’s picture

Status: Needs review » Fixed

Patch committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.