Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Ajax / OpenDialogCommand.php
index 2b0fcdd2620686d98d79419a45d669e76c34b3a0..623d3961bc00e30364945f9857e4a9192eae710a 100644 (file)
@@ -119,7 +119,7 @@ class OpenDialogCommand implements CommandInterface, CommandWithAttachedAssetsIn
    *   The new title of the dialog.
    */
   public function setDialogTitle($title) {
-    $this->setDialogOptions('title', $title);
+    $this->setDialogOption('title', $title);
   }
 
   /**