diff options
author | Matthias Schulte <post@lupo49.de> | 2013-08-03 15:24:42 +0200 |
---|---|---|
committer | Matthias Schulte <post@lupo49.de> | 2013-08-03 15:24:42 +0200 |
commit | a5365cbe15702d1211b52128cb0bec6473ba15cc (patch) | |
tree | 1baec2f828e77e20f5a3d90fd7b25ba10d194fae /lib/exe/mediamanager.php | |
parent | d1e37fb0c8f6a5f768bd6cacfcce6c338b4c3831 (diff) | |
download | rpg-a5365cbe15702d1211b52128cb0bec6473ba15cc.tar.gz rpg-a5365cbe15702d1211b52128cb0bec6473ba15cc.tar.bz2 |
JSINFO in Media Manager: Initialize with empty array, as $ID and $NS
aren't useful and available. This is just for adding more values in
e. g. an action plugin.
Diffstat (limited to 'lib/exe/mediamanager.php')
-rw-r--r-- | lib/exe/mediamanager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/mediamanager.php b/lib/exe/mediamanager.php index 7cd91fe8f..d9e4a6b04 100644 --- a/lib/exe/mediamanager.php +++ b/lib/exe/mediamanager.php @@ -31,7 +31,7 @@ global $INFO, $JSINFO; $INFO = !empty($INFO) ? array_merge($INFO, mediainfo()) : mediainfo(); - $JSINFO = array('id' => $ID, 'namespace' => $NS); + $JSINFO = array('id' => '', 'namespace' => ''); $AUTH = $INFO['perm']; // shortcut for historical reasons trigger_event('MEDIAMANAGER_STARTED',$tmp=array()); |