Compare commits
4 Commits
feature-la
...
release-0.
| Author | SHA1 | Date | |
|---|---|---|---|
| 311b93772c | |||
| a4e34b3b8e | |||
| 537c49751b | |||
| 662f38b85c |
@@ -37,7 +37,7 @@ class RippingCluster_Main extends SihnonFramework_Main {
|
||||
$this->smarty->registerPlugin('modifier', 'formatDuration', array('RippingCluster_Main', 'formatDuration'));
|
||||
$this->smarty->registerPlugin('modifier', 'formatFilesize', array('RippingCluster_Main', 'formatFilesize'));
|
||||
|
||||
$this->smarty->assign('version', '0.3');
|
||||
$this->smarty->assign('version', '0.4');
|
||||
$this->smarty->assign('messages', array());
|
||||
|
||||
$this->smarty->assign('base_uri', $this->base_uri);
|
||||
|
||||
@@ -11,7 +11,7 @@ if ($req->exists('submit')) {
|
||||
|
||||
// Update the recently used list
|
||||
$recent_output_directories = $config->get('rips.output_directories.recent');
|
||||
if (( $key = array_search($_POST['rip-options']['output-directory'], $recent_output_directories, true))) {
|
||||
if (( $key = array_search($_POST['rip-options']['output-directory'], $recent_output_directories, true)) >= 0) {
|
||||
// Move the entry to the top of the recently used list if necessary
|
||||
$recent_directory = array_splice($recent_output_directories, $key, 1);
|
||||
if ($key > 0) {
|
||||
|
||||
Reference in New Issue
Block a user