Skip to content

Commit

Permalink
wrong regex
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrammatiko committed Oct 16, 2014
1 parent 859cbf3 commit 9193dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/templates/isis/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
<jdoc:include type="modules" name="debug" style="none" />
<?php
// Get the singular view
$singular = preg_match('/&id=/', JURI::getInstance()->toString());
$singular = preg_match('/&id=|&layout=edit/', JURI::getInstance()->toString());
if ($stickyToolbar) : ?>
<script>
(function($)
Expand Down

0 comments on commit 9193dfb

Please sign in to comment.