The following message shows ups when I add

Access type: Denied
Rule type: E-Mail
Mask: %.co.ak

Notice: Only variables should be passed by reference in UserRestrictions->save() (Zeile 228 von /usr/www/users/user/domain.com/www/public/sites/all/modules/user_restrictions/user_restrictions.classes.inc).

Running PHP 7.0.16

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

howdytom created an issue. See original summary.

nicola85’s picture

Status: Active » Needs review
FileSize
524 bytes
TommyK’s picture

Status: Needs review » Reviewed & tested by the community

Patch works for me. Thanks!

JohnnyW’s picture

Yup yup! Works perfect! Thanks!

sjerdo’s picture

Patch works. Thanks! +1

howdytom’s picture

Issue summary: View changes
howdytom’s picture

Yes, patch works for me too. Well done. Thank you!

Rob C’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Category: Bug report » Task

Please commit this, got like 10+ patches for PHP7 in my codebase right now.

  • adammalone committed fadb44a on 7.x-1.x authored by nicola85
    Issue #2856139 by nicola85, howdytom: Notice: Only variables should be...
adammalone’s picture

Status: Reviewed & tested by the community » Fixed

Thanks all, good catch. This has now been committed.

Status: Fixed » Closed (fixed)

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