Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
704a3c22
Commit
704a3c22
authored
13 years ago
by
Giovannoni Laurent
Browse files
Options
Downloads
Patches
Plain Diff
fix : pb with _ in actionpage
parent
763382f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/trunk/core/class/ActionControler.php
+18
-3
18 additions, 3 deletions
core/trunk/core/class/ActionControler.php
with
18 additions
and
3 deletions
core/trunk/core/class/ActionControler.php
+
18
−
3
View file @
704a3c22
...
...
@@ -188,9 +188,8 @@ class ActionControler
}
if
(
$mode
==
"up"
)
{
//return self::update($action);
self
::
update
(
$action
);
return
'WTF !!!'
;
return
self
::
update
(
$action
);
}
elseif
(
$mode
==
"add"
){
return
self
::
insert
(
$action
);
...
...
@@ -198,6 +197,22 @@ class ActionControler
return
false
;
}
/**
* if action_page = _ raz
*
*
* @return bool true if raz ok
*/
public
function
razActionPage
()
{
$dbUp
=
new
dbquery
();
$dbUp
->
connect
();
$return
=
self
::
update
(
$action
);
$query
=
"update "
.
self
::
$actions_table
.
" set action_page = '' where action_page = '_'"
;
$dbUp
->
query
(
$query
);
return
true
;
}
/**
* Inserts in the database (actions table) an Action object
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment