mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Fix CS lib/classes
This commit is contained in:
@@ -293,7 +293,7 @@ class caption_Field_Value implements cache_cacheableInterface
|
||||
/* @var $value \caption_Field_Value */
|
||||
$caption_field_value->set_value($value);
|
||||
|
||||
if ( ! $vocabulary || ! $vocabularyId) {
|
||||
if (! $vocabulary || ! $vocabularyId) {
|
||||
$caption_field_value->removeVocabulary();
|
||||
} else {
|
||||
$caption_field_value->setVocab($vocabulary, $vocabularyId);
|
||||
@@ -348,7 +348,7 @@ class caption_Field_Value implements cache_cacheableInterface
|
||||
|
||||
$tbranch = $this->databox_field->get_tbranch();
|
||||
|
||||
if ( ! $tbranch || ! $XPATH_thesaurus) {
|
||||
if (! $tbranch || ! $XPATH_thesaurus) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
@@ -402,7 +402,7 @@ class caption_Field_Value implements cache_cacheableInterface
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( ! $lngfound) {
|
||||
if (! $lngfound) {
|
||||
list($term, $context) = $this->splitTermAndContext($fvalue);
|
||||
$term = str_replace(array("<em>", "</em>"), array("", ""), $term);
|
||||
$context = str_replace(array("<em>", "</em>"), array("", ""), $context);
|
||||
|
Reference in New Issue
Block a user