mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:20 +01:00
php3 fix for detection class; add use of db_addslashes() for when we re-insert
table data to a new table in pg (altertable/column)
This commit is contained in:
parent
9165bf5f60
commit
6330681793
@ -387,7 +387,7 @@
|
||||
case 'text':
|
||||
case 'timestamp':
|
||||
case 'varchar':
|
||||
$sSQL .= "'" . $oProc->m_odb->f($i) . "'";
|
||||
$sSQL .= "'" . $oProc->m_odb->db_addslashes($oProc->m_odb->f($i)) . "'";
|
||||
break;
|
||||
default:
|
||||
$sSQL .= $oProc->m_odb->f($i);
|
||||
|
@ -27,7 +27,7 @@
|
||||
$f = PHPGW_SERVER_ROOT . '/' . $entry . '/setup/setup.inc.php';
|
||||
if (@file_exists ($f))
|
||||
{
|
||||
@include($f);
|
||||
include($f);
|
||||
$setup_info[$entry]['filename'] = $f;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user