~cjsmo/ampache/ampache

« back to all changes in this revision

Viewing changes to server/edit.server.php

  • Committer: Afterster
  • Date: 2015-11-07 07:09:23 UTC
  • mfrom: (3952.1.1)
  • Revision ID: git-v1:88b4662919026b030698448b7cdf6c8dc0cb9897
Merge branch 'Psy-Virus-develop' into develop

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
$results = '';
33
33
 
34
 
debug_event('edit.server.php', 'Called for action: {'.$_REQUEST['action'].'}', '5');
 
34
debug_event('edit.server.php', 'Called for action: {' . $_REQUEST['action'] . '}', '5');
35
35
 
36
36
// Post first
37
37
$type = $_POST['type'];
130
130
        }
131
131
 
132
132
        $libitem->format();
133
 
        $new_id = $libitem->update($_POST);
 
133
        $new_id  = $libitem->update($_POST);
134
134
        $libitem = new $object_type($new_id);
135
135
        $libitem->format();
136
136