Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
3ecbab3259
5 changed files with 15 additions and 11 deletions
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
define('UTYPE_HOST', 'H');
|
||||
define('UTYPE_ADMIN', 'A');
|
||||
define('UTYPE_GUEST', 'G');
|
||||
define('UTYPE_PROGRAM_MANAGER', 'P');
|
||||
define('UTYPE_HOST' , 'H');
|
||||
define('UTYPE_ADMIN' , 'A');
|
||||
define('UTYPE_GUEST' , 'G');
|
||||
define('UTYPE_PROGRAM_MANAGER' , 'P');
|
||||
|
||||
class Application_Model_User
|
||||
{
|
||||
|
|
|
@ -17,12 +17,12 @@ class BitrateFormatter
|
|||
|
||||
public function format()
|
||||
{
|
||||
$Kbps = bcdiv($this->_bitrate, 1000, 0);
|
||||
$kbps = bcdiv($this->_bitrate, 1000, 0);
|
||||
|
||||
if ($Kbps == 0) {
|
||||
if ($kbps == 0) {
|
||||
return "";
|
||||
} else {
|
||||
return "{$Kbps} Kbps";
|
||||
return "$kbps Kbps";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue