Skip to content

Commit

Permalink
Item14210: update version number, and fix a bad regex from 14048 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
cdot committed Jan 23, 2017
1 parent b5af79b commit 44655d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/WorkflowPlugin.pm
Expand Up @@ -19,8 +19,8 @@ use Foswiki::Plugins::WorkflowPlugin::ControlledTopic ();
use Foswiki::OopsException ();
use Foswiki::Sandbox ();

our $VERSION = '1.14';
our $RELEASE = '11 March 2015';
our $VERSION = '1.15';
our $RELEASE = '22 Jan 2017';
our $SHORTDESCRIPTION =
'Associate a "state" with a topic and then control the work flow that the topic progresses through as content is added.';
our $NO_PREFS_IN_TOPIC = 1;
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/WorkflowPlugin/ControlledTopic.pm
Expand Up @@ -89,7 +89,7 @@ sub getState {
my $this = shift;
my $key = shift;

$key =~ s/ +/_/g;
$key =~ s/ +/_/g if defined $key;

return defined $key
? $this->{state}->{$key}
Expand Down

0 comments on commit 44655d6

Please sign in to comment.