Skip to content

Commit

Permalink
style/copage: type and import fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Dec 26, 2024
1 parent aadb1c6 commit 02c6dc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,7 @@ public function createFromXMLFile(
array(
"style_id" => array("integer", $this->getId()),
"type" => array("text", $char["type"]),
"characteristic" => array("text", $char["class"])),
"characteristic" => array("text", ilStr::subStr($char["class"], 0, 30))),
array("hide" => array("integer", 0))
);
$this->is_3_10_skin = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function handlerBeginTag(
"parameter" => $a_attribs["Name"],
"type" => $this->current_type,
"value" => $a_attribs["Value"],
"custom" => $a_attribs["Custom"]);
"custom" => $a_attribs["Custom"] ?? null);
break;

case "StyleColor":
Expand Down

0 comments on commit 02c6dc5

Please sign in to comment.