We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0600c3 commit e41a434Copy full SHA for e41a434
lib/functions/general/extensions.sh
@@ -277,7 +277,7 @@ function initialize_extension_manager() {
277
278
for hook_point_function in ${hook_point_functions}; do
279
opt_out=false
280
- if [[ ${#extension_optout[@]} -ne 0 ]]; then
+ if [[ -v extension_optout && ${#extension_optout[@]} -ne 0 ]]; then
281
# most common case this array is empty/non-existent, so bail out soonest
282
for func in "${extension_optout[@]}"; do
283
if [[ "$func" == "${hook_point}__${hook_point_function}" ]]; then
0 commit comments