Difference between revisions of "Template:Unique values"

From HodHood
Jump to: navigation, search
($count[$v]['category'] = isset( $argv[3] ) ? explode( ', ', $argv[3] ) : null;)
($count[$v]['category'] = $argv[3];)
Line 8: Line 8:
 
   } else {
 
   } else {
 
     $count[$v]['count'] = 1;
 
     $count[$v]['count'] = 1;
     $count[$v]['category'] = isset( $argv[3] )  ? explode( ', ', $argv[3] ) : null;
+
     $count[$v]['category'] = $argv[3];
 
   }
 
   }
 
   //$count[$v][] = $page;
 
   //$count[$v][] = $page;

Revision as of 09:09, 23 February 2018