Index: /trunk/BazaReklamSetup/BazaReklamSetup.vdproj
===================================================================
--- /trunk/BazaReklamSetup/BazaReklamSetup.vdproj (revision 890)
+++ /trunk/BazaReklamSetup/BazaReklamSetup.vdproj (revision 892)
@@ -578,6 +578,6 @@
         "Name" = "8:Microsoft Visual Studio"
         "ProductName" = "8:Baza Reklam"
-        "ProductCode" = "8:{BE4CEADF-2A51-425A-98A6-447451705E71}"
-        "PackageCode" = "8:{3166123B-5CEC-4AF5-8496-D1CBA19E1A6F}"
+        "ProductCode" = "8:{CED1D1F6-6F13-45D7-BA53-81F2163F4673}"
+        "PackageCode" = "8:{A015ED39-D075-4352-9514-CE8C9050A172}"
         "UpgradeCode" = "8:{4E2DBBA4-3139-4790-8DDB-7AADFC963A7D}"
         "RestartWWWService" = "11:FALSE"
@@ -585,5 +585,5 @@
         "DetectNewerInstalledVersion" = "11:TRUE"
         "InstallAllUsers" = "11:TRUE"
-        "ProductVersion" = "8:1.2.0"
+        "ProductVersion" = "8:1.2.1"
         "Manufacturer" = "8:AACT"
         "ARPHELPTELEPHONE" = "8:"
Index: /trunk/BazaReklam/OrderDetails.cs
===================================================================
--- /trunk/BazaReklam/OrderDetails.cs (revision 889)
+++ /trunk/BazaReklam/OrderDetails.cs (revision 892)
@@ -478,7 +478,6 @@
         {
             if (rEKLAMAUKAZESIEWNRBindingSource.Current != null)
-            {
                 rEKLAMAUKAZESIEWNRBindingSource.RemoveCurrent();
-            }
+
             BlokowanieZrealizowanychEmisji();
         }
@@ -593,5 +592,4 @@
             //lokalizacje mo¿na zmieniaæ
             sTRONATextBox.ReadOnly = false;
-
         }
 
@@ -1298,5 +1296,4 @@
                 }
             }
-
             else if (ukazeSieDataGridView.SelectedRows.Count > 1)
             {
@@ -1325,5 +1322,4 @@
 
             e.ContextMenuStrip = emisjeContextMenuStrip;
-
         }
 
@@ -1729,5 +1725,5 @@
 
             if (Validate()) RecalculateAdSize();
-            }
+        }
 
         private void txtVertical_TextChanged(object sender, EventArgs e)
@@ -1736,5 +1732,5 @@
 
             if (Validate()) RecalculateAdSize();
-            }
+        }
 
         private void RecalculateAdSize()
Index: /trunk/BazaReklam/Baza Reklam.csproj
===================================================================
--- /trunk/BazaReklam/Baza Reklam.csproj (revision 890)
+++ /trunk/BazaReklam/Baza Reklam.csproj (revision 892)
@@ -33,5 +33,5 @@
     <WebPage>index.htm</WebPage>
     <OpenBrowserOnPublish>false</OpenBrowserOnPublish>
-    <ApplicationVersion>1.2.0.0</ApplicationVersion>
+    <ApplicationVersion>1.2.1.0</ApplicationVersion>
     <BootstrapperEnabled>false</BootstrapperEnabled>
   </PropertyGroup>
Index: /trunk/BazaReklam/Classes/Repositories/SectionRepository.cs
===================================================================
--- /trunk/BazaReklam/Classes/Repositories/SectionRepository.cs (revision 889)
+++ /trunk/BazaReklam/Classes/Repositories/SectionRepository.cs (revision 892)
@@ -68,4 +68,7 @@
         public List<Module> FindModulesBySection(Section section)
         {
+            if (section == null)
+                return new List<Module>();
+
             ModuleRepository moduleRepository = new ModuleRepository(_connectionString);
             return moduleRepository.FindAllActiveBySection(section);
Index: /trunk/BazaReklam/Properties/AssemblyInfo.cs
===================================================================
--- /trunk/BazaReklam/Properties/AssemblyInfo.cs (revision 889)
+++ /trunk/BazaReklam/Properties/AssemblyInfo.cs (revision 892)
@@ -30,3 +30,3 @@
 //
 [assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.2.0")]
+[assembly: AssemblyFileVersion("1.2.1")]
Index: /trunk/BazaReklam/ClientsForm.cs
===================================================================
--- /trunk/BazaReklam/ClientsForm.cs (revision 889)
+++ /trunk/BazaReklam/ClientsForm.cs (revision 892)
@@ -204,8 +204,6 @@
         }
 
-
         private void tabControl2_SelectedIndexChanged(object sender, EventArgs e)
         {
-
             if (tabs.SelectedTab.Name != "daneKlientaTab")
             {
@@ -288,5 +286,4 @@
                 Cursor = Cursors.Default;
             }
-
         }
 
@@ -2339,5 +2336,4 @@
                 Cursor = Cursors.Default;
             }
-
         }
 
