Skip to content

Commit 95b02f7

Browse files
committed
🐛
🐛
1 parent c90802f commit 95b02f7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

kchat/actions/typing.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ function action(){
2929
'lname' => $this->data['user']['lname'],
3030
'uname' => $this->data['user']['uname'],
3131
'group' => $grp,
32-
'dept' => $data['user']['dept'],
33-
'support_id' => $data['user']['id'],
32+
'dept' => $this->data['user']['dept'],
33+
'support_id' => $this->data['user']['id'],
3434
);
3535
$stmt = $this->data['pdo']->prepare($sql);
3636
$stmt->execute($sql_array);

kchat/ctrl/login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function index(){
3232
$install['modules'] = array(
3333
//"mod_rewrite"
3434
);
35-
if($timezone){
35+
if(!$timezone){
3636
$array['error'][] = "Please set timezone in php.ini";
3737
}
3838
foreach($install['extensions'] as $extension){

kchat/sql/kchat.struct.sql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
-- Indexes for table `%dbprefix%cache`
204204
--
205205
ALTER TABLE `%dbprefix%cache`
206-
ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `uname` (`uname`), ADD KEY `group` (`group`), ADD KEY `cache_ibfk_2` (`uname`), ADD KEY `dept` (`dept`), ADD KEY `support_id` (`support_id`), ADD KEY `support_id_2` (`support_id`), ADD KEY `dept_2` (`dept`);
206+
ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `uname` (`uname`,`process`), ADD KEY `group` (`group`), ADD KEY `cache_ibfk_2` (`uname`), ADD KEY `dept` (`dept`), ADD KEY `support_id` (`support_id`), ADD KEY `support_id_2` (`support_id`), ADD KEY `dept_2` (`dept`);
207207

208208
--
209209
-- Indexes for table `%dbprefix%department`

0 commit comments

Comments
 (0)