diff --git a/includes/class-bsr-db.php b/includes/class-bsr-db.php index a6e8864..7d25d0d 100644 --- a/includes/class-bsr-db.php +++ b/includes/class-bsr-db.php @@ -341,7 +341,9 @@ public function recursive_unserialize_replace( $from = '', $to = '', $data = '', $_tmp = $data; $props = get_object_vars( $data ); foreach ( $props as $key => $value ) { - $_tmp->$key = $this->recursive_unserialize_replace( $from, $to, $value, false, $case_insensitive ); + if (!str_starts_with($key , "\0")) { + $_tmp->$key = $this->recursive_unserialize_replace( $from, $to, $value, false, $case_insensitive ); + } } $data = $_tmp;