Permalink
Browse files

Accidentally broke default code - now fixed.

  • Loading branch information...
1 parent 0434b74 commit b13873eabdd88952ca08f560cc0fab855abe0810 @remy remy committed Jul 10, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 app.php
  2. +1 −1 index.php
View
@@ -65,7 +65,7 @@
if ($code_id) {
list($latest_revision, $html, $javascript) = getCode($code_id, $revision);
} else {
- list($html, $javascript) = defaultCode();
+ list($latest_revision, $html, $javascript) = defaultCode();
}
if ($action == 'js') {
View
@@ -13,7 +13,7 @@
if ($code_id) {
list($latest_revision, $html, $javascript) = getCode($code_id, $revision, true);
} else {
- list($html, $javascript) = defaultCode();
+ list($latest_revision, $html, $javascript) = defaultCode();
}
}

0 comments on commit b13873e

Please sign in to comment.