Skip to content

Commit aa810ec

Browse files
authored
Update class-helloextend-global.php
removed a circular reference
1 parent 89547d0 commit aa810ec

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

helloextend-protection/includes/class-helloextend-global.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,11 @@ public static function helloextend_get_settings()
255255
$settings['warranty_product_id'] = array_key_exists('warranty_product_id', $settings)
256256
? $settings['warranty_product_id'] : helloextend_product_protection_id();
257257

258-
if (empty($settings['warranty_product_id'])) {
258+
/* circular reference removed.
259+
if (empty($settings['warranty_product_id'])) {
259260
HelloExtend_Protection_Logger::helloextend_log_error('Error: Warranty product is not created.');
260261
}
262+
*/
261263

262264
return $settings;
263265
}

0 commit comments

Comments
 (0)