Completed
Pull Request — master (#198)
by
unknown
19:02
created
lib/org/openpsa/user/handler/lostpassword.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             case 'save':
45 45
                 $this->_reset_password($data['controller']->get_form_values());
46 46
                 $data['processing_msg'] = $this->_l10n->get('password reset, mail sent.');
47
-                $data['processing_msg_raw']= 'password reset, mail sent.';
47
+                $data['processing_msg_raw'] = 'password reset, mail sent.';
48 48
                 $this->_success = true;
49 49
                 break;
50 50
 
Please login to merge, or discard this patch.
lib/org/openpsa/user/handler/group/view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     private function load_datamanager()
31 31
     {
32 32
         $dm = datamanager::from_schemadb($this->_config->get('schemadb_group'));
33
-        $persons =& $dm->get_schema('default')->get_field('persons');
33
+        $persons = & $dm->get_schema('default')->get_field('persons');
34 34
         $persons['hidden'] = true;
35 35
         return $dm->set_storage($this->_group);
36 36
     }
Please login to merge, or discard this patch.
lib/midcom/admin/folder/handler/edit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
         foreach ($schemadb->all() as $schema) {
55 55
             if ($schema->has_field('name')) {
56
-                $field =& $schema->get_field('name');
56
+                $field = & $schema->get_field('name');
57 57
                 $field['required'] = ($this->_handler_id === 'edit');
58 58
             }
59 59
         }
Please login to merge, or discard this patch.
lib/net/nehmer/static/handler/view.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             ]);
47 47
         }
48 48
 
49
-        if (   $this->_article->topic === $this->_topic->id
49
+        if ($this->_article->topic === $this->_topic->id
50 50
             && $this->_article->can_do('midgard:delete')) {
51 51
             $delete = $this->get_workflow('delete', ['object' => $this->_article]);
52 52
             $buttons[] = $delete->get_button("delete/{$this->_article->guid}/");
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         $this->_datamanager->set_storage($this->_article);
115 115
 
116 116
         $arg = $this->_article->name ?: $this->_article->guid;
117
-        if (   $arg != 'index'
117
+        if ($arg != 'index'
118 118
             && $this->_config->get('hide_navigation')) {
119 119
             $this->add_breadcrumb("{$arg}/", $this->_article->title);
120 120
         }
@@ -124,13 +124,13 @@  discard block
 block discarded – undo
124 124
         midcom::get()->metadata->set_request_metadata($this->_article->metadata->revised, $this->_article->guid);
125 125
         $this->bind_view_to_object($this->_article, $this->_datamanager->get_schema()->get_name());
126 126
 
127
-        if (   $this->_config->get('indexinnav')
127
+        if ($this->_config->get('indexinnav')
128 128
             || $this->_config->get('autoindex')
129 129
             || $this->_article->name != 'index') {
130 130
             $this->set_active_leaf($this->_article->id);
131 131
         }
132 132
 
133
-        if (   $this->_config->get('folder_in_title')
133
+        if ($this->_config->get('folder_in_title')
134 134
             && $this->_topic->extra != $this->_article->title) {
135 135
             midcom::get()->head->set_pagetitle("{$this->_topic->extra}: {$this->_article->title}");
136 136
         } else {
Please login to merge, or discard this patch.
lib/net/nehmer/static/handler/admin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
      */
29 29
     private function load_controller()
30 30
     {
31
-        if (    $this->_config->get('simple_name_handling')
31
+        if ($this->_config->get('simple_name_handling')
32 32
              && !midcom::get()->auth->admin) {
33 33
             foreach ($this->_request_data['schemadb']->all() as $schema) {
34
-                $field =& $schema->get_field('name');
34
+                $field = & $schema->get_field('name');
35 35
                 $field['readonly'] = true;
36 36
             }
37 37
         }
Please login to merge, or discard this patch.
lib/net/nehmer/static/handler/create.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     private function load_controller($schemaname, array $defaults)
33 33
     {
34 34
         if ($this->_config->get('simple_name_handling')) {
35
-            $field =& $this->_request_data['schemadb']->get($schemaname)->get_field('name');
35
+            $field = & $this->_request_data['schemadb']->get($schemaname)->get_field('name');
36 36
             $field['hidden'] = true;
37 37
         }
38 38
         $dm = new datamanager($this->_request_data['schemadb']);
Please login to merge, or discard this patch.
lib/org/openpsa/products/handler/product/csv.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
     public function _load_data($handler_id, array &$args, array &$data)
55 55
     {
56
-        if (   empty($_POST)
56
+        if (empty($_POST)
57 57
             && $data['session']->exists('POST_data')) {
58 58
             $_POST = $data['session']->get('POST_data');
59 59
             $data['session']->remove('POST_data');
Please login to merge, or discard this patch.
lib/org/openpsa/directmarketing/importer/csv.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,11 +55,11 @@
 block discarded – undo
55 55
         foreach (array_filter($csv_line) as $field => $value) {
56 56
             // Process the row accordingly
57 57
             $field_matching = $this->_settings['fields'][$field];
58
-            if (   $field_matching
58
+            if ($field_matching
59 59
                 && strstr($field_matching, ':')) {
60 60
                 list($schemadb, $schema_field) = explode(':', $field_matching);
61 61
 
62
-                if (   !array_key_exists($schemadb, $this->_schemadbs)
62
+                if (!array_key_exists($schemadb, $this->_schemadbs)
63 63
                     || !$this->_schemadbs[$schemadb]->get('default')->has_field($schema_field)) {
64 64
                     // Invalid matching, skip
65 65
                     continue;
Please login to merge, or discard this patch.
lib/net/nehmer/blog/handler/admin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,10 +48,10 @@
 block discarded – undo
48 48
         $this->article->require_do('midgard:update');
49 49
 
50 50
         $schemadb = $data['schemadb'];
51
-        if (   $this->_config->get('simple_name_handling')
51
+        if ($this->_config->get('simple_name_handling')
52 52
             && !midcom::get()->auth->can_user_do('midcom:urlname')) {
53 53
             foreach ($schemadb->all() as $schema) {
54
-                $field =& $schema->get_field('name');
54
+                $field = & $schema->get_field('name');
55 55
                 $field['readonly'] = true;
56 56
             }
57 57
         }
Please login to merge, or discard this patch.