Ticket #2936: 2936.patch

File 2936.patch, 1.2 KB (added by Alfonso Martínez de Lizarrondo, 15 years ago)

Proposed patch

  • _whatsnew.html

     
    9090                        error when trying to create link for images inside floating div containers.</li>
    9191                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/3925">#3925</a>] Removed obsolete
    9292                        parentWindow reference from FCKDialog.OpenDialog().</li>
     93                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2936">#2936</a>] Added protection
     94                        in the PHP upload if the destination folder is placed at the root and doesn't exit .</li>
    9395        </ul>
    9496        <p>
    9597                <a href="_whatsnew_history.html">See previous versions history</a></p>
  • editor/filemanager/connectors/php/io.php

     
    9898        }
    9999
    100100        // Check if the parent exists, or create it.
    101         if ( !file_exists( $sParent ) )
     101        if ( !empty($sParent) && !file_exists( $sParent ) )
    102102        {
    103103                //prevents agains infinite loop when we can't create root folder
    104104                if ( !is_null( $lastFolder ) && $lastFolder === $sParent) {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy