Skip to content

Commit

Permalink
Merge branch 'hotfix/1.9.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
abrain committed Mar 22, 2021
2 parents 397615d + 58ba311 commit 6481205
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
class Core
{
const VERSION = '1.9.0';
const VERSION = '1.9.1';
const DB_VERSION = 60;

/**
Expand Down
4 changes: 2 additions & 2 deletions src/ReportNumberController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public function __construct(Data $data)
* @param int $metaId ID des postmeta-Eintrags
* @param int $objectId Post-ID
* @param string $metaKey Der Key des postmeta-Eintrags
* @param string $metaValue Der Wert des postmeta-Eintrags
* @param mixed $metaValue Der Wert des postmeta-Eintrags
*/
public function onPostMetaChanged(int $metaId, int $objectId, string $metaKey, string $metaValue)
public function onPostMetaChanged(int $metaId, int $objectId, string $metaKey, $metaValue)
{
// Bail, if this is not about reports
if (get_post_type($objectId) !== 'einsatz') {
Expand Down
2 changes: 1 addition & 1 deletion src/einsatzverwaltung.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Einsatzverwaltung
Plugin URI: https://einsatzverwaltung.abrain.de
Description: Public incident reports for fire brigades and other rescue services
Version: 1.9.0
Version: 1.9.1
Author: Andreas Brain
Author URI: https://www.abrain.de
License: GPLv2
Expand Down
5 changes: 4 additions & 1 deletion src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: Feuerwehr, fire department, EMS
Requires at least: 5.1.0
Tested up to: 5.7
Requires PHP: 7.1.0
Stable tag: 1.9.0
Stable tag: 1.9.1
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -52,6 +52,9 @@ Yes, you can find them on [our website](https://einsatzverwaltung.abrain.de/faq/

== Changelog ==

= 1.9.1 =
* Fix: Too narrow PHP type check prevented creation of other post types

= 1.9.0 =
* Vehicles can be associated with a unit
* Incident numbers can have a separator between the year the and sequential number
Expand Down

0 comments on commit 6481205

Please sign in to comment.