File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function createBookmark(
49
49
return false ;
50
50
}
51
51
52
- if (! $ this ->config ->settings [ ' AllowSharedBookmarks ' ] ) {
52
+ if (! $ this ->config ->config -> AllowSharedBookmarks ) {
53
53
$ shared = false ;
54
54
}
55
55
@@ -78,7 +78,7 @@ public function getList(
78
78
return [];
79
79
}
80
80
81
- $ exactUserMatch = ! $ this ->config ->settings [ ' AllowSharedBookmarks ' ] ;
81
+ $ exactUserMatch = ! $ this ->config ->config -> AllowSharedBookmarks ;
82
82
83
83
$ query = 'SELECT * FROM ' . Util::backquote ($ this ->bookmarkFeature ->database )
84
84
. '. ' . Util::backquote ($ this ->bookmarkFeature ->bookmark )
@@ -123,7 +123,7 @@ public function get(
123
123
if ($ user !== null ) {
124
124
$ query .= ' AND (user = ' . $ this ->dbi ->quoteString ($ user );
125
125
126
- $ exactUserMatch = ! $ this ->config ->settings [ ' AllowSharedBookmarks ' ] ;
126
+ $ exactUserMatch = ! $ this ->config ->config -> AllowSharedBookmarks ;
127
127
if (! $ exactUserMatch ) {
128
128
$ query .= " OR user = '' " ;
129
129
}
Original file line number Diff line number Diff line change @@ -1007,7 +1007,7 @@ private function getQueryResponseForNoResultsReturned(
1007
1007
]),
1008
1008
'user ' => $ this ->config ->selectedServer ['user ' ],
1009
1009
'sql_query ' => $ completeQuery ,
1010
- 'allow_shared_bookmarks ' => $ this ->config ->settings [ ' AllowSharedBookmarks ' ] ,
1010
+ 'allow_shared_bookmarks ' => $ this ->config ->config -> AllowSharedBookmarks ,
1011
1011
]);
1012
1012
}
1013
1013
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ public function getHtml(
124
124
'bookmarks ' => $ bookmarks ,
125
125
'can_convert_kanji ' => Encoding::canConvertKanji (),
126
126
'is_foreign_key_check ' => ForeignKey::isCheckEnabled (),
127
- 'allow_shared_bookmarks ' => $ this ->config ->settings [ ' AllowSharedBookmarks ' ] ,
127
+ 'allow_shared_bookmarks ' => $ this ->config ->config -> AllowSharedBookmarks ,
128
128
]);
129
129
}
130
130
You can’t perform that action at this time.
0 commit comments