mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix uninitialized stdClass in rarely used method
This commit is contained in:
parent
3bd25f9538
commit
508b6ed340
24 changed files with 68 additions and 19 deletions
|
|
@ -237,6 +237,7 @@ class documentAdminView extends document
|
|||
*/
|
||||
function dispDocumentAdminAlias()
|
||||
{
|
||||
$args = new stdClass();
|
||||
$args->document_srl = Context::get('document_srl');
|
||||
if(!$args->document_srl) return $this->dispDocumentAdminList();
|
||||
|
||||
|
|
@ -268,6 +269,7 @@ class documentAdminView extends document
|
|||
function dispDocumentAdminTrashList()
|
||||
{
|
||||
// options for a list
|
||||
$args = new stdClass();
|
||||
$args->page = Context::get('page'); // /< Page
|
||||
$args->list_count = 30; // /< the number of posts to display on a single page
|
||||
$args->page_count = 10; // /< the number of pages that appear in the page navigation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue