Update ListItem.php
This commit is contained in:
parent
a09e7151ac
commit
5741e47129
|
|
@ -141,7 +141,7 @@ class ListItem extends AbstractStyle
|
|||
|
||||
/**
|
||||
* Set numbering Id. Same numId means same list
|
||||
* @param mixed
|
||||
* @param mixed $numInt
|
||||
*/
|
||||
public function setNumId($numInt)
|
||||
{
|
||||
|
|
@ -158,10 +158,10 @@ class ListItem extends AbstractStyle
|
|||
private function getListTypeStyle()
|
||||
{
|
||||
// Check if legacy style already registered in global Style collection
|
||||
$numStyle = "PHPWordList_" . $this->listType;
|
||||
$numStyle = 'PHPWordListType' . $this->listType;
|
||||
|
||||
if ($this->numId) {
|
||||
$numStyle .= '_' . $this->numId;
|
||||
$numStyle .= 'NumId' . $this->numId;
|
||||
}
|
||||
|
||||
if (Style::getStyle($numStyle) !== null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue