[UI] Fixed php warning