Bug de sélection de génération de la liste des pages en edition et ajout de cours.
This commit is contained in:
parent
c7b26dfe46
commit
8b4c5d2107
@ -153,6 +153,7 @@ class course extends common
|
|||||||
self::$courseCategories = $this->getData(['category']);
|
self::$courseCategories = $this->getData(['category']);
|
||||||
|
|
||||||
// Liste des pages disponibles
|
// Liste des pages disponibles
|
||||||
|
$this->initDB('page', $this->getUrl(2));
|
||||||
self::$pagesList = $this->getData(['page']);
|
self::$pagesList = $this->getData(['page']);
|
||||||
foreach (self::$pagesList as $page => $pageId) {
|
foreach (self::$pagesList as $page => $pageId) {
|
||||||
if (
|
if (
|
||||||
@ -220,6 +221,7 @@ class course extends common
|
|||||||
self::$courseCategories = $this->getData(['category']);
|
self::$courseCategories = $this->getData(['category']);
|
||||||
|
|
||||||
// Liste des pages disponibles
|
// Liste des pages disponibles
|
||||||
|
$this->initDB('page', $this->getUrl(2));
|
||||||
self::$pagesList = $this->getData(['page']);
|
self::$pagesList = $this->getData(['page']);
|
||||||
foreach (self::$pagesList as $page => $pageId) {
|
foreach (self::$pagesList as $page => $pageId) {
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user