Fix for hard-coded 1000 in new folder name - https://github.com/getgrav/grav/issues/1386

This commit is contained in:
Andy Miller
2017-03-26 19:46:02 -07:00
parent 482c6d9ee8
commit f5285ec2b9
2 changed files with 2 additions and 2 deletions

View File

@@ -393,7 +393,7 @@ class AdminController extends AdminBaseController
*
* @return string the correct order string to prepend
*/
private function getNextOrderInFolder($path)
public static function getNextOrderInFolder($path)
{
$files = Folder::all($path, ['recursive' => false]);