Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
cassandre authored Mar 19, 2020
2 parents 85351a7 + 1d726b2 commit 4523a0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fau-cris.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Text Domain: fau-cris
* Domain Path: /languages
* Requires at least: 3.9.2
* Tested up to: 5.2.2
* Tested up to: 5.3.2
* License: GPLv2 or later
* GitHub Plugin URI: https://github.com/RRZE-Webteam/fau-cris
* GitHub Branch: master
Expand Down Expand Up @@ -213,7 +213,9 @@ public static function options_fau_cris() {
$current = self::current_tab($_GET);
if (isset($_GET['action']) && $_GET['action'] == 'cris_sync') {
include 'class_Sync.php';
$sync = new Sync();
global $post;
$page_lang = Tools::getPageLanguage($post->ID);
$sync = new Sync($page_lang);
$result = $sync->do_sync();
}
$options = self::get_options();
Expand Down

0 comments on commit 4523a0d

Please sign in to comment.