Closed (won't fix)
Project:
Nodeblock
Version:
7.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2015 at 22:08 UTC
Updated:
2 Dec 2015 at 22:15 UTC
Jump to comment: Most recent
The 7.x-1.7 nodeblock.module contains a line of code that is not valid in PHP-5.2
$block_title = $values ?: ($node->nid ? '' : _nodeblock_node_title($node, $langcode));
The "?:" operator isn't supported in PHP-5.2
Please either work around it or document the change in system requirements.
Comments
Comment #2
Johnny vd Laar commentedSupport for PHP 5.2 has ended in 2010. You shouldn't be running this on any server. I'm not supporting old PHP versions.