Skip to content

Commit

Permalink
Bei Statuswechsel wurden Create- anstatt Update-Felder aktualisiert (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaddade committed May 17, 2023
1 parent d95f0db commit cbdf17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redaxo/src/addons/structure/lib/service_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public static function categoryStatus($categoryId, $clang, $status = null)
$EKAT->setTable(rex::getTablePrefix() . 'article');
$EKAT->setWhere(['id' => $categoryId, 'clang_id' => $clang, 'startarticle' => 1]);
$EKAT->setValue('status', $newstatus);
$EKAT->addGlobalCreateFields(self::getUser());
$EKAT->addGlobalUpdateFields(self::getUser());

try {
$EKAT->update();
Expand Down

0 comments on commit cbdf17b

Please sign in to comment.