mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Merge pull request #3156 from jygaulier/PHRAS-2726_setstatus-api_4.1
PHRASE-2726 #comment Fusion of Setstatus-api in 4.1, after this merge and this update, the PR # 3161, currently in a failed state, should proceed correctly. This merge order is not the best ways but this is more quicker.
This commit is contained in:
@@ -1984,7 +1984,7 @@ class V1Controller extends Controller
|
|||||||
return $this->getBadRequestAction($request);
|
return $this->getBadRequestAction($request);
|
||||||
}
|
}
|
||||||
|
|
||||||
$datas = substr($datas, 0, ($n)) . $value . substr($datas, ($n + 2));
|
$datas = substr($datas, 0, ($n)) . $value . substr($datas, ($n + 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
$record->setStatus(strrev($datas));
|
$record->setStatus(strrev($datas));
|
||||||
|
Reference in New Issue
Block a user