diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-23 22:49:51 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-23 22:49:51 +0000 |
commit | 76e74f41d4a77a436409b6435abdcdacc1fa9ad8 (patch) | |
tree | 46eafdc3a4f7e7c33c49209c8abdf775233f8e2f /etc/phpshellsessions | |
parent | 432bd199e78a13bab59f1373c5b417a5dab7e940 (diff) | |
download | pfsense-76e74f41d4a77a436409b6435abdcdacc1fa9ad8.zip pfsense-76e74f41d4a77a436409b6435abdcdacc1fa9ad8.tar.gz |
Correct 0 - Array error
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r-- | etc/phpshellsessions/cvssync | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index b3827de..e6fb37f 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -56,8 +56,10 @@ $branches = array( "RELENG_1_2" => "1.2 release branch" ); -if(file_exists("/root/cvssync_backup.tgz")) - $branches[] = array("RESTORE" => "Restores prior CVSSync backup data."); +if(file_exists("/root/cvssync_backup.tgz")) { + $tmp = array("RESTORE" => "Restores prior CVSSync backup data."); + $branches = array_merge($branches, $tmp); +} if($command_split[2]) { $branch = $command_split[2]; |