Skip to content

Commit

Permalink
Merge pull request #127 from RRZE-Webteam/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rvdforst authored Nov 7, 2022
2 parents b71e8a8 + 4a56e87 commit 73a81b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cms-workflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: CMS-Workflow
Plugin URI: https://github.com/RRZE-Webteam/cms-workflow
Description: Redaktioneller Workflow.
Version: 1.17.1
Version: 1.17.2
Author: RRZE Webteam
Author URI: https://blogs.fau.de/webworking/
License: GNU General Public License v2
Expand All @@ -21,7 +21,7 @@

class CMS_Workflow {

const version = '1.17.1'; // Plugin-Version
const version = '1.17.2'; // Plugin-Version
const textdomain = 'cms-workflow';
const php_version = '7.4'; // Minimal erforderliche PHP-Version
const wp_version = '5.9'; // Minimal erforderliche WordPress-Version
Expand Down
4 changes: 3 additions & 1 deletion modules/dashboard/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,9 @@ private function task_list_order(&$posts) {

$data = get_post_meta($post->ID, Workflow_Task_List::postmeta_key);
$data = json_decode(json_encode($data), false);

if (is_null($data)) {
continue;
}
foreach ($data as $value) {
if (empty($value->task_done)) {
$priority[] = $value->task_priority;
Expand Down

0 comments on commit 73a81b2

Please sign in to comment.