Skip to content

Commit

Permalink
Fix a bug where editing an entry would return an empty publish form i…
Browse files Browse the repository at this point in the history
…f no settings were available for the channel
  • Loading branch information
TJ Draper committed Aug 7, 2015
1 parent d5eb4d9 commit 202ddd7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.0.5

2015-08-07

- Fixed a bug where editing an entry would return an empty publish form if no settings were available for the channel

# 1.0.4

2015-07-23
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Limitee 1.0.4
# Limitee 1.0.5

Limit ExpressionEngine titles, text input field types, and textarea field types to a specific character count, with a counter to let you know how many characters are remaining. Our thanks to [MD Character Count] for the inspiration behind this add-on.

Expand Down
2 changes: 1 addition & 1 deletion system/expressionengine/third_party/limitee/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if (! defined('LIMITEE_NAME')) {
define('LIMITEE_NAME', 'Limitee');
define('LIMITEE_DESC', 'Limit the length of titles, text inputs and textareas in publish layouts.');
define('LIMITEE_VER', '1.0.4');
define('LIMITEE_VER', '1.0.5');
define('LIMITEE_AUTHOR', 'Caddis');
define('LIMITEE_DOCS', 'https://github.com/caddis/limitee');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function disable_extension()
function publish_form_entry_data($data)
{
if (! isset($this->settings[$this->site_id])) {
return;
return $data;
}

ee()->load->helper('array');
Expand Down

0 comments on commit 202ddd7

Please sign in to comment.