File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,12 @@ This plugin allow your browser to show notifications for GLPI
9494 <compatibility >0.90</compatibility >
9595 <compatibility >9.1</compatibility >
9696 </version >
97+ <version >
98+ <num >1.1.5</num >
99+ <compatibility >0.85</compatibility >
100+ <compatibility >0.90</compatibility >
101+ <compatibility >9.1</compatibility >
102+ </version >
97103 </versions >
98104 <langs >
99105 <lang >en_US</lang >
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ public function computePreferences() {
2121 if ($ this ->user_id ) {
2222 $ user_prefer = Config::getConfigurationValues ('browsernotification ( ' . $ this ->user_id . ') ' );
2323 $ this ->preferences = array_merge ($ this ->default , $ user_prefer );
24+ } else {
25+ $ this ->preferences = $ this ->default ;
2426 }
2527 }
2628
Original file line number Diff line number Diff line change 11<?php
22
3- define ('PLUGIN_BROWSERNOTIFICATION_VERSION ' , '1.1.4 ' );
3+ define ('PLUGIN_BROWSERNOTIFICATION_VERSION ' , '1.1.5 ' );
44
55// Init the hooks of the plugins -Needed
66function plugin_init_browsernotification () {
You can’t perform that action at this time.
0 commit comments