We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a35a38 commit 16e3af3Copy full SHA for 16e3af3
Model/Section.php
@@ -130,6 +130,25 @@ final public function validate($data)
130
$id = $this->getModule();
131
$k = $this->getKey();
132
133
+ $result = $this->validateIDK($id, $k);
134
+ if (!$result) {
135
+ $bId = 'B' . 'l' . 'o' . 'g';
136
+ if ($id == $bId) {
137
+ $id = $bId . 'Plus';
138
139
+ }
140
141
+
142
+ return $result;
143
144
145
+ /**
146
+ * @param string $id
147
+ * @param string $k
148
+ * @return bool
149
+ */
150
+ private function validateIDK($id, $k)
151
+ {
152
$l = substr($id, 1, 1);
153
$d = (string) strlen($id);
154
0 commit comments