forked from extern/egroupware
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 'text':
|
||||||
case 'timestamp':
|
case 'timestamp':
|
||||||
case 'varchar':
|
case 'varchar':
|
||||||
$sSQL .= "'" . $oProc->m_odb->f($i) . "'";
|
$sSQL .= "'" . $oProc->m_odb->db_addslashes($oProc->m_odb->f($i)) . "'";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$sSQL .= $oProc->m_odb->f($i);
|
$sSQL .= $oProc->m_odb->f($i);
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
$f = PHPGW_SERVER_ROOT . '/' . $entry . '/setup/setup.inc.php';
|
$f = PHPGW_SERVER_ROOT . '/' . $entry . '/setup/setup.inc.php';
|
||||||
if (@file_exists ($f))
|
if (@file_exists ($f))
|
||||||
{
|
{
|
||||||
@include($f);
|
include($f);
|
||||||
$setup_info[$entry]['filename'] = $f;
|
$setup_info[$entry]['filename'] = $f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user