Add LStemplate assignment for current object in view
authorBenjamin Renard <brenard@easter-eggs.com>
Wed, 25 Jan 2017 13:19:04 +0000 (14:19 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Wed, 25 Jan 2017 13:19:04 +0000 (14:19 +0100)
public_html/view.php

index 803e4e8..8d4d9eb 100644 (file)
@@ -88,6 +88,8 @@ if(LSsession :: startLSsession()) {
               $object = LSsession :: getLSuserObject();
               LStemplate :: assign('pagetitle',_('My account'));
             }
+
+            LStemplate :: assign('object',$object);
             
             $view = $object -> getView();
             $view -> displayView();