Changeset 666


Ignore:
Timestamp:
Dec 30, 2004, 8:59:46 AM (20 years ago)
Author:
plg
Message:
  • admin/update : bug when trying to synchronize a particular category (it was deleted...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/update.php

    r665 r666  
    143143  // retrieve file system sub-directories fulldirs
    144144  $fs_fulldirs = get_fs_directories($basedir);
     145  // get_fs_directories doesn't include the base directory, so if it's a
     146  // category directory, we need to include it in our array
     147  if (isset($_POST['cat']))
     148  {
     149    array_push($fs_fulldirs, $basedir);
     150  }
    145151 
    146152  $inserts = array();
Note: See TracChangeset for help on using the changeset viewer.