ref: refs/heads/master
commit 88c2b165dd0e597fd8dea6cd5a67b2d29ef3b571
Author: Josef Reidinger
Date: Thu Sep 10 12:21:59 2009 +0200
force string to session
---
.../app/controllers/controlpanel_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/webclient/app/controllers/controlpanel_controller.rb b/webclient/app/controllers/controlpanel_controller.rb
index 8317134..9bdc540 100644
--- a/webclient/app/controllers/controlpanel_controller.rb
+++ b/webclient/app/controllers/controlpanel_controller.rb
@@ -149,7 +149,7 @@ class ControlpanelController < ApplicationController
# we got some steps from backend, base system setup is not over and
# no sign of progress in session variables => restart base system setup
logger.debug "Basesystem steps: #{basesystem.steps.inspect}"
- decoded_steps = basesystem.steps.collect { |step| step.action ? "#{step.controller}:#{step.action}" : step.controller }
+ decoded_steps = basesystem.steps.collect { |step| step.action ? "#{step.controller}:#{step.action}" : "#{step.controller}" }
session[:wizard_steps] = decoded_steps.join(",")
session[:wizard_current] = decoded_steps.first
redirect_to :action => :basesystem
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org