Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PHP 5.X compat issue in block saving triggers string offset warning #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Trav84
Copy link

@Trav84 Trav84 commented Apr 29, 2016

D6 naively assumed that all elements int he $form_state['values'] array are blocks. PHP 5.5+ throw a warning. This skips over those non array based elements in the loop.

Drupal issue upstream closed because of EOL: https://www.drupal.org/node/1680614

D6 naively assumed that all elements int he $form_state['values'] array are blocks. PHP 5.5+ throw a warning. This skips over those non array based elements in the loop.

Drupal issue upstream closed because of EOL: https://www.drupal.org/node/1680614
Fix PHP 5.X compat issue in block saving
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant