Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bugfix: broken video upload recoding.

Incorrect array index.
  • Loading branch information...
commit 7504f1899bb990e5348a03cca5ce7123c8042bd0 1 parent 44b8c9a
Auke Kok authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  album-watch.php
2  album-watch.php
@@ -166,7 +166,7 @@ function do_file($path, $album, $user)
166 166 while(TRUE) {
167 167 $events = inotify_read($i);
168 168 foreach($events as $event) {
169   - $p = $w[$event[$wd]] . "/" . $event['name'];
  169 + $p = $w[$event['wd']] . "/" . $event['name'];
170 170 if (is_dir($p)) {
171 171 # new folder - add to the watch list
172 172 $wd = inotify_add_watch($i, $p, IN_CLOSE_WRITE);

0 comments on commit 7504f18

Please sign in to comment.
Something went wrong with that request. Please try again.