line 244 of securepages.module reads
return $TRUE;
Should it not return TRUE? Currently gives a PHP_NOTICE undefined variable $TRUE.
Also, not that its a problem, I'm just curious if there is any reason why line 228 in securepages_test() reads
$url = 'https://' . preg_replace(';^http[s]?://;s', '', url('admin/structure/securepages/test', array('absolute' => TRUE)));
and not
$url = preg_replace(';^http://;s', 'https://', url('admin/structure/securepages/test',array('absolute' => TRUE)));
Thanks,
Jonathan
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | crazy-true-is-a-variable-fix.patch | 405 bytes | chriscohen |
Comments
Comment #1
chriscohen commentedPlease accept this patch to fix this issue. It's literally removing a single character, however. If the patch is not in the correct format, please let me know. I'm a bit alarmed that this issue has been around since March and there is no progress on it!
Comment #2
acbramley commentedCan't believe this patch hasn't been accepted yet. Patch works fine, format is fine just get this into --dev!
Comment #3
grendzy commentedFixed in 6a50441