forgot quotes around public

This commit is contained in:
Beth Parker 2017-10-30 21:48:44 -05:00
parent 44ec990b86
commit 72d9f1acd5

View file

@ -10,7 +10,7 @@ function retrieve_data ($file, $public_only) {
foreach($data as $category => $items){
$filteredcat = array();
foreach($items as $item => $value){
if($value[public]=true){
if($value['public']=true){
$filteredcat[$item] = $value;
}
}