Commit af7d10ca authored by Max Pogonowski's avatar Max Pogonowski Committed by rsvelko
Browse files

Issue #3269290 by victoria-marina, darvanen, almador: Deprecated function: parse_url()

parent 14127898
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -263,6 +263,9 @@ class LoginDestinationRuleForm extends EntityForm {
   * @see LinkWidget::getUriAsDisplayableString()
   */
  protected function getUriAsDisplayableString($uri) {
    if (!$uri) {
      return '';
    }
    $scheme = parse_url($uri, PHP_URL_SCHEME);

    // By default, the displayable string is the URI.