← Back to team overview

mahara-contributors team mailing list archive

[Bug 1321053] Re: Better way to fetch template for some json files

 

** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1321053

Title:
  Better way to fetch template for some json files

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  Some json files have:

  ob_start();		
  $smarty->display('name/of/json.tpl');
  $html = ob_get_contents();		
  ob_end_clean();

  But this can be simplified to:

  $html = $smarty->fetch('name/of/json.tpl');

  So I'll do that in this patch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1321053/+subscriptions


References