Skip to content
Snippets Groups Projects
Commit c62e091d authored by Laurent's avatar Laurent
Browse files

Fix Import Typo3 / PHP 5.4 compatibility

parent 7415b707
Branches
Tags
6 merge requests!780Master,!767Master,!764Dev#21988 consultation pnb,!753Dev#21988 consultation pnb,!744Dev #21987 register ip pnb,!733Rd #14085 pnb
......@@ -28,10 +28,11 @@ class Class_Import_Typo3 {
const BOKEH_FILEADMIN_URL = "http://www.mediathequeouestprovence.fr/fileadmin/";
// const BOKEH_FILEADMIN_URL= "http://web.afi-sa.net/miop_test.net/userfiles/image/";
const FOREIGN_UID_DATETIME = [867,36];
const UID_TYPO3_CF = 'uid_typo3';
protected
$FOREIGN_UID_DATETIME = [867,36],
$user_mapper,
$unknown_koha_urls = [];
......@@ -494,7 +495,7 @@ class Class_Import_Typo3 {
public function setMiopDateEvent($article, $data) {
if ($this->existCategoriesAsForeign($data, self::FOREIGN_UID_DATETIME)) {
if ($this->existCategoriesAsForeign($data, $this->FOREIGN_UID_DATETIME)) {
$converted_date = $this->formatDate($data['datetime']);
$article->setEventsDebut($converted_date)->setEventsFin($converted_date);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment