-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 54: fix weakness to sql injection - 55: remove vies re-checks when on the admin cart list page - missing index on the vatchecker table, vat_number used in all select queries on this table, this requires a new version number
- Loading branch information
1 parent
c63a0e3
commit a23951c
Showing
3 changed files
with
34 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
if ( ! defined( '_PS_VERSION_' ) ) { | ||
exit; | ||
} | ||
|
||
/** | ||
* This function updates your module from previous versions to the version 2.1.3, | ||
* usefull when you modify your database, or register a new hook ... | ||
* Don't forget to create one file per version. | ||
*/ | ||
function upgrade_module_2_1_3( $module ) | ||
{ | ||
return Db::getInstance()->Execute( | ||
'ALTER TABLE `' . _DB_PREFIX_ . 'vatchecker` ADD INDEX(`vat_number`);' | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters