Differential D25031 Diff 83 src/applications/auth/xaction/PhabricatorAuthContactNumberNumberTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/xaction/PhabricatorAuthContactNumberNumberTransaction.php
Context not available. | |||||
$max_length = $object->getColumnMaximumByteLength('contactNumber'); | $max_length = $object->getColumnMaximumByteLength('contactNumber'); | ||||
foreach ($xactions as $xaction) { | foreach ($xactions as $xaction) { | ||||
$new_value = $xaction->getNewValue(); | $new_value = $xaction->getNewValue(); | ||||
$new_length = strlen($new_value); | $new_length = @strlen($new_value); | ||||
if ($new_length > $max_length) { | if ($new_length > $max_length) { | ||||
$errors[] = $this->newInvalidError( | $errors[] = $this->newInvalidError( | ||||
pht( | pht( | ||||
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