Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/custom/PhabricatorConfigJSONOptionType.php
Context not available. | |||||
$storage_value = $request->getStr('value'); | $storage_value = $request->getStr('value'); | ||||
$display_value = $request->getStr('value'); | $display_value = $request->getStr('value'); | ||||
if (strlen($display_value)) { | if (@strlen($display_value)) { | ||||
try { | try { | ||||
$storage_value = phutil_json_decode($display_value); | $storage_value = phutil_json_decode($display_value); | ||||
$this->validateOption($option, $storage_value); | $this->validateOption($option, $storage_value); | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0