Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit 3f891f7

Browse files
committed
It's a questionable Yoda condition, but it checks out.
1 parent f9da6f4 commit 3f891f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-wc-custom-order-table-install.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class WC_Custom_Order_Table_Install {
3232
*/
3333
public static function activate() {
3434
// We're already on the latest schema version.
35-
if ( (int) self::$table_version === (int) get_option( self::SCHEMA_VERSION_KEY ) ) {
35+
if ( (int) get_option( self::SCHEMA_VERSION_KEY ) === (int) self::$table_version ) {
3636
return false;
3737
}
3838

0 commit comments

Comments
 (0)