When the frontpage is not a node (f.e. a view) a notice will appear:
Notice: Undefined index: in _prevent_homepage_deletion_check() (line 37

Comments

JoshaHubbers created an issue. See original summary.

joshahubbers’s picture

StatusFileSize
new839 bytes

This patch fixes the notice. Because there is never a node with id "0", the frontpage id is initialized as "0".

  • JoshaHubbers authored e0885eb on 8.x-1.x
    Issue #3076913 by JoshaHubbers: Notice 'undefined index'
    
joshahubbers’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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