Stanford / WMD

WebAuth Module for Drupal
WMD
GNU General Public License v2.0
9 stars 9 forks source link

split() deprecated warning #81

Closed mistermarco closed 12 years ago

mistermarco commented 12 years ago

PHP 5.3 deprecated split() which is used in webauth.module

13rac1 commented 12 years ago

I corrected this in 7.x-3.x. You can probably use the same code. Was: $no_check_php_loop = (bool) (array_pop(split('/', $_GET['q'])) != 'check.php'); Changed to: $no_check_php_loop = (bool) (array_pop(explode('/', $_GET['q'])) != 'check.php');

mistermarco commented 12 years ago

Thanks!