Skip to content
Browse files

You did not see that.

  • Loading branch information...
1 parent 6e8cf58 commit 669b2e72ff8ca5fde24ffef53bf732b17da81236 @Mark-H committed Apr 8, 2012
View
1 core/components/versionx/controllers/index.php
@@ -26,7 +26,6 @@
$versionx->initialize('mgr');
$action = $versionx->getAction();
-if ($action) $action = $action->get('id');
$modx->regClientStartupHTMLBlock('
<script type="text/javascript">
View
2 core/components/versionx/model/versionx.class.php
@@ -618,7 +618,7 @@ private function _getLangs() {
/**
* Gets the action ID for the VersionX controller.
*
- * @return An|null|object
+ * @return int
*/
public function getAction() {
$action = $this->action;

0 comments on commit 669b2e7

Please sign in to comment.
Something went wrong with that request. Please try again.