derefence fix
This commit is contained in:
@@ -942,11 +942,12 @@ function booking_requirements($phase) {
|
||||
//check that the stripe library is present
|
||||
if (($library = libraries_detect('stripe')) && !empty($library['installed'])) {
|
||||
// The library is installed. Awesome!
|
||||
watchdog('booking_debug', "<pre>Stripe library check\n@info</pre>", array('@info' => print_r(libraries_info('stripe'), true)));
|
||||
$info = libraries_info('stripe');
|
||||
watchdog('booking_debug', "<pre>Stripe library check\n@info</pre>", array('@info' => print_r($info, true)));
|
||||
$requirements['booking_stripe_library'] = array(
|
||||
'title' => $t('Booking Module Libraries'),
|
||||
'description' => $t('Ensure that the stripe module is installed.'),
|
||||
'value' => $t('Version !version installed.', array('!version' => libraries_info('stripe')->version)),
|
||||
'value' => $t('Version !version installed.', array('!version' => $info->version)),
|
||||
'severity' => REQUIREMENT_OK,
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user