PluginProbe
User Access Manager / 2.3.19
User Access Manager v2.3.19
2.3.20 2.3.19 2.3.18 2.3.17 2.3.16 2.3.15 2.3.14 2.3.13 trunk 0.6 0.6.1 0.6.2 0.7 0.7 Beta 0.7.0.1 0.8 0.8.0.1 0.8.0.2 0.9 0.9.1 0.9.1.1 0.9.1.2 0.9.1.3 0.9.1.4 1.0 All 136 releases
← All changes | src/Controller/Frontend/RedirectController.php +4 -4 trunk2.3.19 View file →
@@ -281,12 +281,12 @@
281 281 {
282 282 $postableTypes = implode('\',\'', $this->objectHandler->getPostTypes());
283 283
284 284 $query = $this->database->prepare(
285 - "SELECT `ID`
286 - FROM `{$this->database->getPostsTable()}`
287 - WHERE `post_name` = %s
288 - AND `post_type` IN ('$postableTypes')",
285 + "SELECT ID
286 + FROM {$this->database->getPostsTable()}
287 + WHERE post_name = %s
288 + AND post_type IN ('$postableTypes')",
289 289 $name
290 290 );
291 291
292 292 return (int) $this->database->getVariable($query);