// Check ldap extension.
if (AUTH_MODULE == 'ldap') {
- if (extension_loaded('ldap_')) {
+ if (extension_loaded('ldap')) {
echo('ldap PHP extension is loaded.<br>');
} else {
echo('<font color="red">Error: ldap PHP extension is not loaded. It is required for LDAP authentication.</font><br>');
print "Updated $tt_expense_items_updated tt_expense_items records...<br>\n";
}
- if ($_POST["convert11797to11824"]) {
+ if ($_POST["convert11797to11826"]) {
setChange("ALTER TABLE `tt_fav_reports` CHANGE `group_by` `group_by1` varchar(20) default NULL");
setChange("ALTER TABLE `tt_fav_reports` ADD `group_by2` varchar(20) default NULL AFTER `group_by1`");
setChange("ALTER TABLE `tt_fav_reports` ADD `group_by3` varchar(20) default NULL AFTER `group_by2`");
<h2>DB Install</h2>
<table width="80%" border="1" cellpadding="10" cellspacing="0">
<tr>
- <td width="80%"><b>Create database structure (v1.18.24)</b>
+ <td width="80%"><b>Create database structure (v1.18.26)</b>
<br>(applies only to new installations, do not execute when updating)</br></td><td><input type="submit" name="crstructure" value="Create"></td>
</tr>
</table>
</tr>
</tr>
<tr valign="top">
- <td>Update database structure (v1.17.97 to v1.18.24)</td>
- <td><input type="submit" name="convert11797to11824" value="Update"></td>
+ <td>Update database structure (v1.17.97 to v1.18.26)</td>
+ <td><input type="submit" name="convert11797to11826" value="Update"></td>
</tr>
</table>