From 54026bf555b8126fe3d9c909e4a7bebf98c4766d Mon Sep 17 00:00:00 2001 From: Steven Liekens Date: Mon, 29 Jun 2015 16:17:57 +0200 Subject: [PATCH] mend --- src/Powerup/Application.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Powerup/Application.cs b/src/Powerup/Application.cs index d69edc9..ee57417 100644 --- a/src/Powerup/Application.cs +++ b/src/Powerup/Application.cs @@ -78,7 +78,11 @@ private void AddCodeToObject() con.Open(); using (var reader = cmd.ExecuteReader()) { - if (!reader.HasRows) return; + if (!reader.HasRows) + { + continue; + } + while (reader.Read()) { sqlObject.Code += reader[0].ToString();