aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
-rw-r--r--view/jot-header.tpl6
2 files changed, 5 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index 49247eb23..94db29942 100644
--- a/boot.php
+++ b/boot.php
@@ -4,7 +4,7 @@ set_time_limit(0);
ini_set('pcre.backtrack_limit', 250000);
-define ( 'FRIENDIKA_VERSION', '2.2.1012' );
+define ( 'FRIENDIKA_VERSION', '2.2.1013' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1063 );
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 61c80702e..bf2dde8e9 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -114,10 +114,12 @@ tinyMCE.init({
$('.item-select').each( function() {
if($(this).is(':checked')) {
- if(checkedstr.length != 0)
+ if(checkedstr.length != 0) {
checkedstr = checkedstr + ',' + $(this).val();
- else
+ }
+ else {
checkedstr = $(this).val();
+ }
}
});
$.post('item', { dropitems: checkedstr }, function(data) {