BUG 8040 se soluciono problema de label en tas title

This commit is contained in:
Alvaro Campos
2012-02-03 15:15:12 -04:00
parent 1e73bd6462
commit e4f176bbcb

View File

@@ -429,12 +429,18 @@ public function kgetassigType($pro_uid, $tas){
$c->addSelectColumn(ContentPeer::CON_CATEGORY);
$c->addSelectColumn(ContentPeer::CON_VALUE);
$c->add(ContentPeer::CON_ID, $TasUid );
$c->add(ContentPeer::CON_LANG, $lang );
$c->add(ContentPeer::CON_LANG, $lang );
$rs = TaskPeer::doSelectRS($c);
$rs->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$rs->next();
$row = $rs->getRow();
if (!$row){
$row['CON_VALUE'] = $this->getTasTitle();
$row['CON_CATEGORY'] = 'TAS_TITLE';
}
while (is_array($row)) {
switch ( $row['CON_CATEGORY'] ) {
case 'TAS_TITLE' :