civicrm / cv

CiviCRM CLI Utility
28 stars 30 forks source link

Backdrop - Fix bootstrap warning about `explode()` and `null` #205

Closed totten closed 3 months ago

totten commented 3 months ago

Overview

This fixes a console warning using traditional bootstrap on Backdrop.

Before

$ cv ev 'echo 123;'
[PHP Deprecation] explode(): Passing null to parameter #2 ($string) of type string is deprecated at /home/totten/bknix/build/bcmaster/web/core/includes/bootstrap.inc:991
123

After

$ cv ev 'echo 123;'
123