Permalink
Browse files

Bugfix: broken video upload recoding.

Incorrect array index.
  • Loading branch information...
1 parent 44b8c9a commit 7504f1899bb990e5348a03cca5ce7123c8042bd0 @sofar committed Nov 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 album-watch.php
View
@@ -166,7 +166,7 @@ function do_file($path, $album, $user)
while(TRUE) {
$events = inotify_read($i);
foreach($events as $event) {
- $p = $w[$event[$wd]] . "/" . $event['name'];
+ $p = $w[$event['wd']] . "/" . $event['name'];
if (is_dir($p)) {
# new folder - add to the watch list
$wd = inotify_add_watch($i, $p, IN_CLOSE_WRITE);

0 comments on commit 7504f18

Please sign in to comment.