Skip to content

Commit d2e80ef

Browse files
committed
fixed vcheck
1 parent e7c9021 commit d2e80ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/views/admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
$vc_success = curl_exec($ch);
4949

5050
if ( $vc_success !== false ) {
51-
$latest_version = json_decode( $version_check_out, true )['price-comparison-manager'];
52-
update_option( 'pcm_vc_cached', array( "v" => $latest_version, "ts" => time() ) );
51+
$latest_version = json_decode( $vc_success, true )['text-inserts'];
52+
update_option( 'txi_vc_cached', array( "v" => $latest_version, "ts" => time() ) );
5353
}
5454
}
5555

0 commit comments

Comments
 (0)