fixed a problem deleting a language translations

This commit is contained in:
Erik Amaru Ortiz
2011-01-21 20:49:08 +00:00
parent 35062c5a80
commit 79c12fa48c
2 changed files with 4 additions and 2 deletions

View File

@@ -285,6 +285,7 @@ class Content extends BaseContent {
$c->add ( ContentPeer::CON_LANG, $lanId );
$result = ContentPeer::doSelectRS ( $c );
$result->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$result->next ();
$row = $result->getRow ();
while ( is_array ( $row ) ) {