Changeset 3992:716640bdb480 for inc/admin
- Timestamp:
- 06/28/19 13:42:16 (6 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/actions/class.dcactionposts.php
r3874 r3992 347 347 $ap->redirect(true); 348 348 } else { 349 $usersList = '';349 $usersList = []; 350 350 if ($core->auth->check('admin', $core->blog->id)) { 351 351 $params = [ … … 359 359 $rsStatic->lexicalSort('user_id'); 360 360 while ($rsStatic->fetch()) { 361 $usersList .= ($usersList != '' ? ',' : '') . '"' . $rsStatic->user_id . '"';361 $usersList[] = $rsStatic->user_id; 362 362 } 363 363 } … … 369 369 __('Change author for this selection') => '']), 370 370 dcPage::jsLoad('js/jquery/jquery.autocomplete.js') . 371 '<script type="text/javascript">' . "\n" . 372 'usersList = [' . $usersList . ']' . "\n" . 373 "</script>\n" 371 dcPage::jsJson('users_list', $usersList) 374 372 ); 375 373
Note: See TracChangeset
for help on using the changeset viewer.