Fix deprecation warnings in PHP 8.2

This commit is contained in:
Kijin Sung 2023-05-01 00:05:56 +09:00
parent a1bd9cc2bc
commit 581097a9e3
3 changed files with 14 additions and 14 deletions

View file

@ -66,7 +66,7 @@ class poll_maker extends EditorHandler
$poll_data = $oPollModel->_getPollinfo($args->poll_srl);
Context::set('poll_data', $poll_data);
Context::set('colorset', $args->colorset);
Context::set('colorset', $args->colorset ?? null);
Context::set('poll_srl', $args->poll_srl);
Context::set('style', $args->style);