Fix #134 : browsing a story

This commit is contained in:
Romain Neutron
2011-12-30 11:40:21 +01:00
parent 32ddd4aee8
commit d0fc37b957
4 changed files with 6 additions and 5 deletions

View File

@@ -112,8 +112,7 @@ class record_preview extends record_adapter
break;
case "REG":
$contId = explode('_', $contId);
$base_id = $contId[0];
$sbas_id = phrasea::sbasFromBas($base_id);
$sbas_id = $contId[0];
$record_id = $contId[1];
$this->container = new record_adapter($sbas_id, $record_id);