| @@ -76,9 +76,9 @@ | ||
| 76 | 76 | * |
| 77 | 77 | * @throws Exception Table must be defined before using. |
| 78 | 78 | */ |
| 79 | 79 | public function load() { |
| 80 | - if ( empty( $this->table ) ) { | |
| 80 | + if ( '' === $this->table ) { | |
| 81 | 81 | throw new Exception( 'Table must be defined before using.' ); |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | $data = get_site_option( $this->table ); |