Commit c30c518f authored by Nigel McNie's avatar Nigel McNie Committed by Penny Leach
Browse files

Bring the textbox blocktype's render_instance method signature into alignment...

Bring the textbox blocktype's render_instance method signature into alignment with what it should be.
parent 8d6b068a
...@@ -44,7 +44,7 @@ class PluginBlocktypeTextbox extends SystemBlocktype { ...@@ -44,7 +44,7 @@ class PluginBlocktypeTextbox extends SystemBlocktype {
return array('portfolio', 'profile'); return array('portfolio', 'profile');
} }
public static function render_instance(BlockInstance $instance) { public static function render_instance(BlockInstance $instance, $editing=false) {
$configdata = $instance->get('configdata'); $configdata = $instance->get('configdata');
$text = (isset($configdata['text'])) ? $configdata['text'] : ''; $text = (isset($configdata['text'])) ? $configdata['text'] : '';
safe_require('artefact', 'file'); safe_require('artefact', 'file');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment