Fixed php notice on missing layout value