XpressEngineGoogleCode / xe-board

Automatically exported from code.google.com/p/xe-board
0 stars 0 forks source link

Document's notice property and other styles need to be untouched #154

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
What is the expected output? What do you see instead?
- Document's notice property and other styles are set to default value if user 
updates the document which manager has made notice or set some styles.

What version of the product are you using? On what operating system?
- xe_board 1.4.5

Please provide any additional information below.
- This modification of modules/board/board.controller.php fixes this issue
            if($oDocument->isExists() && $oDocument->document_srl == $obj->document_srl) {
                /* ... */

                if(!$this->grant->manager) {
                // notice & document style same as before if not manager
                    $obj->is_notice = $oDocument->get('is_notice');
                    $obj->title_color = $oDocument->get('title_color');
                    $obj->title_bold = $oDocument->get('title_bold');
                }

                /* ... */
            }

Original issue reported on code.google.com by bolog....@gmail.com on 17 Jan 2013 at 3:53

GoogleCodeExporter commented 8 years ago

Original comment by sinsy...@gmail.com on 12 Mar 2013 at 6:47

GoogleCodeExporter commented 8 years ago
r275

Original comment by sinsy...@gmail.com on 12 Mar 2013 at 8:13