Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apps.acj
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franklin
apps.acj
Commits
babf54d5
Commit
babf54d5
authored
Mar 15, 2024
by
Manoj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
f2258ff4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
ApplicationController.php
admin/application/controllers/ApplicationController.php
+5
-2
No files found.
admin/application/controllers/ApplicationController.php
View file @
babf54d5
...
...
@@ -2406,6 +2406,7 @@ class ApplicationController extends CI_Controller
}
public
function
questionEdit
(
$id
){
if
(
isset
(
$_POST
[
'submit'
])){
...
...
@@ -2425,7 +2426,7 @@ class ApplicationController extends CI_Controller
'academic'
=>
$academic
,
'exam_type'
=>
$exam_type
,
'category'
=>
$category
,
'schedule_id'
=>
$schedule
,
'schedule_id'
=>
$schedule
,
'question'
=>
$question
,
'option_a'
=>
$option_a
,
'option_b'
=>
$option_b
,
...
...
@@ -2433,8 +2434,10 @@ class ApplicationController extends CI_Controller
'option_d'
=>
$option_d
,
'answer'
=>
$answer
,
);
// print_r($id);
// print_r( $update_array);exit;
$update
=
$this
->
mcommon
->
common_
update
(
'question'
,
$update_array
,
array
(
'id'
=>
$id
)
);
$update
=
$this
->
mcommon
->
common_
edit
(
'question'
,
$update_array
,
array
(
'id'
=>
$id
)
);
if
(
$update
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment