Permalink
Browse files

adjusting to take the config array from modules

  • Loading branch information...
1 parent fc4660a commit 94a75ab44f49cdf1093db106664be1029ed4346d @dogmatic69 dogmatic69 committed Mar 26, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Core/ViewCounter/View/Elements/modules/admin/quick_view.ctp
@@ -1,4 +1,8 @@
<?php
+ if(!empty($config)) {
+ extract($config);
+ }
+
if(empty($chartData)) {
if(empty($model) || empty($foreignKey)) {
throw new CakeException('Missing model or foreignKey');

0 comments on commit 94a75ab

Please sign in to comment.