PluginProbe
ShiftController Employee Shift Scheduling / 4.9.66
ShiftController Employee Shift Scheduling v4.9.66
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
← All changes | hc3/request.php +4 -5 trunk4.9.66 View file →
@@ -129,15 +129,14 @@
129 129 }
130 130
131 131 public function isPrintView()
132 132 {
133 - $ret = false;
133 + $return = FALSE;
134 134 $params = $this->getParams();
135 135 if( array_key_exists('print', $params) && ($params['print']) ){
136 - $ret = true;
136 + $return = TRUE;
137 137 }
138 -
139 - return $ret;
138 + return $return;
140 139 }
141 140
142 141 public function getMethod()
143 142 {
@@ -194,9 +193,9 @@
194 193
195 194 protected function _cleanInputKeys( $str )
196 195 {
197 196 if ( ! preg_match("/^[a-z0-9:_\/\-\~]+$/i", $str)){
198 - exit('Disallowed Key Characters on: ' . '"' . esc_html($str) . '"' . '<br>');
197 + exit('Disallowed Key Characters on: ' . '"' . $str . '"' . '<br>');
199 198 }
200 199 return $str;
201 200 }
202 201