| @@ -198,9 +198,9 @@ | ||
| 198 | 198 | * |
| 199 | 199 | */ |
| 200 | 200 | public function isUpgrade() { |
| 201 | 201 | // If the version is not the same and not equal to current version then its upgrading! |
| 202 | - $isUpgrade = (($this->installedDbVersion != CJTPlugin::DB_VERSION) && ($this->installedDbVersion != '')); | |
| 202 | + $isUpgrade = (($this->installedDbVersion <= CJTPlugin::DB_VERSION) && ($this->installedDbVersion != '')); | |
| 203 | 203 | return $isUpgrade; |
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | /** |