From: Vincent Vanwaelscappel Date: Fri, 22 Sep 2023 15:45:05 +0000 (+0200) Subject: wip #6186 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1ff6427105048123dfa93cca178c0d7aa4363f3c;p=cubist_scorm.git wip #6186 @0.5 --- diff --git a/composer.lock b/composer.lock index 7526185..aaf4533 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4839e02e1197a2d107ff1dea39bf2cf3", + "content-hash": "ac1f71451c93880e9dcc8d96a5d27041", "packages": [], "packages-dev": [], "aliases": [], @@ -13,7 +13,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=7.3" + "php": ">=7.3", + "ext-mbstring": "*" }, "platform-dev": [], "plugin-api-version": "2.1.0" diff --git a/src/Manifest.php b/src/Manifest.php index 519bd9b..4d6b005 100644 --- a/src/Manifest.php +++ b/src/Manifest.php @@ -63,6 +63,10 @@ class Manifest $v = '3rd'; } + if ($this->getReference() === $this->getOrganization()) { + $this->setOrganization($this->getOrganization() . '_ORG'); + } + return ' getReference() === $this->getOrganization()) { + $this->setOrganization($this->getOrganization() . '_ORG'); + } + $res = ' ' . $this->_escape($this->getTitle()) . ' - + ' . $this->_escape($this->getTitle()) . ' - +