Skip to content

Commit

Permalink
Found issue...
Browse files Browse the repository at this point in the history
  • Loading branch information
gust1n committed Dec 20, 2011
1 parent a32c944 commit 52a94fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion views/edit/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
$UrlCodeExploded = explode('/', $this->Page->UrlCode);
$ThisUrlCode = $UrlCodeExploded[count($UrlCodeExploded) - 1];
$ParentUrlCode = substr($this->Page->UrlCode, 0, -strlen($ThisUrlCode));

/*
TODO Fix to not override urlcode if core template isset
*/
echo Wrap($ParentUrlCode, 'span', array('id' => 'ParentUrlCode'));
echo Wrap($ThisUrlCode, 'span', array('id' => 'UrlCode'));
echo $this->Form->TextBox('UrlCode', array('value' => $ThisUrlCode));
Expand Down

0 comments on commit 52a94fb

Please sign in to comment.