View Single Post
Old 03-10-2021, 07:23 PM   #1
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,046
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Template: Missing 'fi'

There's a missing/misplaced 'fi' somewhere in this statement. Where should it go?

Code:
program:
k = field('#kobocoll');
if check_yes_no('#onkobo', 0, 1, 0) then 
    'sync.png' 
else
    if check_yes_no('#onkobo', 0, 0, 1) then
        	if list_contains(k, ',', '^Kobo Store$', '1', '') then 
            'drm-locked.png'
        	if list_contains(k, ',', '^Send to Device$', '1', '') then 
            'sync.png'			
        else
            'reader.png'
        fi
    fi
fi

Last edited by ownedbycats; 03-10-2021 at 07:59 PM.
ownedbycats is online now   Reply With Quote