BUG 9902 Error uploading a new language in Zend ServerSOLVED

- Not loaded correctly.
- scans all languages.
This commit is contained in:
Marco Antonio Nina
2012-10-11 10:25:40 -04:00
parent 8eec1347dd
commit d1ea074d0b
3 changed files with 4 additions and 6 deletions

View File

@@ -382,7 +382,6 @@ class Content extends BaseContent {
FROM CONTENT_BACKUP");
$statement->executeQuery();
$connection = Propel::getConnection('workflow');
$statement = $connection->prepareStatement("DROP TABLE CONTENT_BACKUP");
$statement->executeQuery();
@@ -419,7 +418,7 @@ class Content extends BaseContent {
}
function fastInsertContent ($ConCategory, $ConParent, $ConId, $ConLang, $ConValue) {
$ConValue = htmlentities($ConValue, ENT_QUOTES, "UTF-8");
$ConValue = mysql_real_escape_string($ConValue);
$connection = Propel::getConnection('workflow');
$statement = $connection->prepareStatement("INSERT INTO CONTENT_BACKUP (
CON_CATEGORY, CON_PARENT, CON_ID , CON_LANG, CON_VALUE)