From a0d267ed2f56af96e0139d34a40e5d5de4b04923 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Fri, 30 Nov 2012 16:57:37 +0000 Subject: [PATCH] Bug fix: "Configure this list" was not working on some ,lists (with a ID containing a colon (:) from a Menu) SVN:trunk[2488] --- application/datatable.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/datatable.class.inc.php b/application/datatable.class.inc.php index 3d3fa1f4a..81e749303 100644 --- a/application/datatable.class.inc.php +++ b/application/datatable.class.inc.php @@ -40,7 +40,7 @@ class DataTable */ public function __construct($iListId, $oSet, $aClassAliases, $sTableId = null) { - $this->iListId = $iListId; + $this->iListId = str_replace(array('[', ']', '-', ':'), '_', $iListId); // Make a "safe" ID for jQuery $this->oSet = $oSet; $this->aClassAliases = $aClassAliases; $this->sTableId = $sTableId;