File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
adm_program/modules/downloads Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 166166// Datei / Ordner umbenennen
167167elseif ($ getMode === 4 )
168168{
169- if (( !$ getFileId && !$ getFolderId) || ( $ getFileId && $ getFolderId ) )
169+ if (!$ getFileId && !$ getFolderId )
170170 {
171- // Es muss entweder eine FileID ODER eine FolderId uebergeben werden
172- // beides ist auch nicht erlaubt
171+ // fileid and/or folderid must be set
173172 $ gMessage ->show ($ gL10n ->get ('SYS_INVALID_PAGE_VIEW ' ));
174173 }
175174
Original file line number Diff line number Diff line change 130130 $ nextFolder = $ folderContent ['folders ' ][$ i ];
131131
132132 $ folderDescription = '' ;
133- if (strlen ( $ nextFolder ['fol_description ' ]) > 0 )
133+ if ($ nextFolder ['fol_description ' ] !== null )
134134 {
135135 $ folderDescription = '<img class="admidio-icon-help" src=" ' . THEME_PATH . '/icons/info.png" data-toggle="popover" data-trigger="hover"
136136 data-placement="right" title=" ' .$ gL10n ->get ('SYS_DESCRIPTION ' ).'" data-content=" ' .$ nextFolder ['fol_description ' ].'" alt="Info" /> ' ;
196196 $ timestamp = DateTime::createFromFormat ('Y-m-d H:i:s ' , $ nextFile ['fil_timestamp ' ]);
197197
198198 $ fileDescription = '' ;
199- if ($ nextFile ['fil_description ' ] !== '' )
199+ if ($ nextFile ['fil_description ' ] !== null )
200200 {
201201 $ fileDescription = '<img class="admidio-icon-help" src=" ' . THEME_PATH . '/icons/info.png" data-toggle="popover" data-trigger="hover"
202202 data-placement="right" title=" ' .$ gL10n ->get ('SYS_DESCRIPTION ' ).'" data-content=" ' .$ nextFile ['fil_description ' ].'" alt="Info" /> ' ;
You can’t perform that action at this time.
0 commit comments