Skip to content

Commit

Permalink
2 fatal bugs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasKrais committed Jun 5, 2019
1 parent 6d49728 commit 9338b02
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion install.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
. "'', '[]', 'before', UNIX_TIMESTAMP(), '". rex::getUser()->getValue('login') ."', UNIX_TIMESTAMP(), '". rex::getUser()->getValue('login') ."');");
}

d2u_addon_backend_helper::generateUrlCache();
\d2u_addon_backend_helper::generateUrlCache();
}

// Media Manager media types
Expand Down
2 changes: 1 addition & 1 deletion lib/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public function save() {
}

// Update URLs
d2u_addon_backend_helper::generateUrlCache();
\d2u_addon_backend_helper::generateUrlCache();

return $error;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/property.php
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ public function save() {
}

// Update URLs
d2u_addon_backend_helper::generateUrlCache();
\d2u_addon_backend_helper::generateUrlCache();

return $error;
}
Expand Down
2 changes: 1 addition & 1 deletion pages/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
if(\rex_addon::get('url')->isAvailable()) {
d2u_addon_backend_helper::update_url_scheme(rex::getTablePrefix() ."d2u_immo_url_categories", $settings['article_id']);
d2u_addon_backend_helper::update_url_scheme(rex::getTablePrefix() ."d2u_immo_url_properties", $settings['article_id']);
d2u_addon_backend_helper::generateUrlCache();
\d2u_addon_backend_helper::generateUrlCache();
}

// Install / update language replacements
Expand Down
5 changes: 3 additions & 2 deletions pages/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@
<p>Fehlermeldungen bitte im <a href="https://github.com/TobiasKrais/d2u_immo" target="_blank">GitHub Repository</a> melden.</p>
<h2>Changelog</h2>

<p>1.1.3-DEV:</p>
<p>1.1.3:</p>
<ul>
<li>...</li>
<li>Bugfix: Fatal error beim Speichern verursacht durch die URL Addon Version 2 Anpassungen behoben.</li>
<li>Bugfix: bei Installation des Export Plugins wurde ein Datenbankfeld vergessen anzulegen.</li>
</ul>
<p>1.1.2:</p>
<ul>
Expand Down
1 change: 1 addition & 0 deletions plugins/export/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
company_email varchar(255) collate utf8mb4_unicode_ci default NULL,
customer_number varchar(50) collate utf8mb4_unicode_ci default NULL,
media_manager_type varchar(255) collate utf8mb4_unicode_ci default 'd2u_helper_sm',
online_status varchar(10) collate utf8mb4_unicode_ci DEFAULT 'online',
ftp_server varchar(100) collate utf8mb4_unicode_ci default NULL,
ftp_username varchar(50) collate utf8mb4_unicode_ci default NULL,
ftp_password varchar(20) collate utf8mb4_unicode_ci default NULL,
Expand Down
2 changes: 1 addition & 1 deletion update.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
. "'', '[]', 'before', UNIX_TIMESTAMP(), '". rex::getUser()->getValue('login') ."', UNIX_TIMESTAMP(), '". rex::getUser()->getValue('login') ."');");
}

d2u_addon_backend_helper::generateUrlCache();
\d2u_addon_backend_helper::generateUrlCache();
}

// 1.0.7 update
Expand Down

0 comments on commit 9338b02

Please sign in to comment.