src/libraries/adapters/DatabaseMySql.php
/** Prepare album to store in the database
   */
Prepare album to store in the database
Prepare album to store in the database
private function prepareAlbum($params)
  {
    if(isset($params['extra']))
      $params['extra'] = json_encode($params['extra']);
    return $params;
  }
private function prepareAlbum ( $ params ) { if ( isset ( $ params [ 'extra' ] ) ) $ params [ 'extra' ] = json_encode ( $ params [ 'extra' ] ) ; return $ params ; }
Prepare album to store in the database
Prepare album to store in the database