Skip to content

Commit d499cbd

Browse files
committed
2.2.0 - PHP 8 support
1 parent 7ad49c4 commit d499cbd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

code/Module.class.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ class Module extends FormToolsModule
1313
protected $author = "Ben Keen";
1414
protected $authorEmail = "[email protected]";
1515
protected $authorLink = "http://formtools.org";
16-
protected $version = "2.1.5";
17-
protected $date = "2019-03-17";
16+
protected $version = "2.2.0";
17+
protected $date = "2023-02-26";
1818
protected $originLanguage = "en_us";
1919
protected $jsFiles = array("scripts/tests.js");
2020
protected $cssFiles = array("css/styles.css");

code/Tables.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public static function getComponentTables($component_info)
121121
$dbPrefix = Core::getDbTablePrefix();
122122

123123
$tables = array();
124-
while (list($table_name) = each($component_info["tables"])) {
124+
foreach ($component_info["tables"] as $table_name => $empty) {
125125
$tables[] = "{$dbPrefix}{$table_name}";
126126
}
127127

0 commit comments

Comments
 (0)