Skip to content

Commit 286d1bf

Browse files
committed
Fixed: FS#1053 - Syntax Error in form_list.php
1 parent e23d196 commit 286d1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/designer/form_list.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function getinfo($file, $form_file, $bgcolor) {
5656
while ($file = @readdir ($handle)) {
5757
if ($file != '.' && $file != '..') {
5858
if(@is_dir(ISPC_WEB_PATH."/$file")) {
59-
if(ISPC_WEB_PATH.'/'.$file.'/lib/module.conf.php') and $file != 'login') {
59+
if(is_file(ISPC_WEB_PATH.'/'.$file.'/lib/module.conf.php') and $file != 'login') {
6060
if(@is_dir(ISPC_WEB_PATH."/$file/form")) {
6161
$handle2 = opendir(ISPC_WEB_PATH."/$file/form");
6262
while ($form_file = @readdir ($handle2)) {

0 commit comments

Comments
 (0)