diff options
Diffstat (limited to 'engine/lib/filestore.php')
-rw-r--r-- | engine/lib/filestore.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/filestore.php b/engine/lib/filestore.php index f5aece941..d131154c6 100644 --- a/engine/lib/filestore.php +++ b/engine/lib/filestore.php @@ -1415,7 +1415,7 @@ function delete_directory($directory) { function clear_user_files($user) { global $CONFIG; - $time_created = date('Y/m/d', $user->time_created); + $time_created = date('Y/m/d', (int)$user->time_created); $file_path = "$CONFIG->dataroot$time_created/$user->guid"; if (file_exists($file_path)) { delete_directory($file_path); |