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:
Miles Lott 2001-11-29 03:58:22 +00:00
parent 9165bf5f60
commit 6330681793
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}
}