Mercurial > epgrec.yaz
comparison channelSetSID.php @ 102:49145003e6a3
fix whitespace and new line code
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 08 Mar 2010 01:08:47 +0900 |
parents | ded62b253bca |
children |
comparison
equal
deleted
inserted
replaced
101:8ac1bea85c5e | 102:49145003e6a3 |
---|---|
3 include_once( INSTALL_PATH . "/DBRecord.class.php" ); | 3 include_once( INSTALL_PATH . "/DBRecord.class.php" ); |
4 include_once( INSTALL_PATH . "/Settings.class.php" ); | 4 include_once( INSTALL_PATH . "/Settings.class.php" ); |
5 | 5 |
6 | 6 |
7 if( isset($_POST['sid']) && isset($_POST['channel_disc']) ) { | 7 if( isset($_POST['sid']) && isset($_POST['channel_disc']) ) { |
8 | 8 |
9 try { | 9 try { |
10 $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] ); | 10 $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] ); |
11 $crec->sid = trim($_POST['sid']); | 11 $crec->sid = trim($_POST['sid']); |
12 } | 12 } |
13 catch( Exception $e ) { | 13 catch( Exception $e ) { |