folder reindex fix

This commit is contained in:
SJ
2016-01-24 15:23:47 +01:00
parent ff3673d635
commit fe3d5f9744
3 changed files with 11 additions and 2 deletions

View File

@@ -322,6 +322,8 @@ int get_folder_id_by_rule(struct __data *data, struct parser_state *state, int s
struct node *q;
int ismatch;
if(cfg->enable_folders == 0) return 0;
q = data->folder_rules[0];
while(q != NULL){