Commit 69e82db4 authored by Steven Jones's avatar Steven Jones

#1263544 by GuyPaddock, Steven Jones: Fixed 'Can only throw objects in...

#1263544 by GuyPaddock, Steven Jones: Fixed 'Can only throw objects in provision.config.inc, line 75'.
parent a2601b4a
......@@ -72,7 +72,7 @@ class provisionConfig {
*/
function __construct($context, $data = array()) {
if (is_null($this->template)) {
throw(exception);
throw new Exception(dt("No template specified for: %class", array('%class' => get_class($this))));
}
// Accept both a reference and an alias name for the context.
......
Markdown is supported
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