fix: 1.8.0 beta 3 - dies on PHP 5.3, refs #1141

*misc.php
  * added temporary variable like in inc/functions.php