Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updating extract() to no assign (skip) if the value already exists

  • Loading branch information...
commit c7ffc06779974b60c2671f739934df00cbd8ffc6 1 parent bf5ae8c
@enygma authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Shield/View.php
View
2  Shield/View.php
@@ -206,7 +206,7 @@ public function render($template)
// scope in the tempate extraction
$result = function($file,array $data=array()) {
ob_start();
- extract($data);
+ extract($data, EXTR_SKIP);
try {
include $file;
} catch(\Exception $e) {
Please sign in to comment.
Something went wrong with that request. Please try again.